{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse_BJPS.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}23 Oct 2020, 19:42:32
{txt}
{com}. 
{txt}end of do-file

{com}. do "/var/folders/cm/7_x4jw5137vf208vsqchgqp00000gn/T//SD54758.000000"
{txt}
{com}. log off
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse_BJPS.smcl
  {txt}log type:  {res}smcl
 {txt}paused on:  {res}23 Oct 2020, 19:43:05
{txt}{.-}
{smcl}
{txt}{sf}{ul off}{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse_BJPS.smcl
  {txt}log type:  {res}smcl
{txt}resumed on:  {res}23 Oct 2020, 19:43:46
{txt}
{com}. 
{txt}end of do-file

{com}. do "/var/folders/cm/7_x4jw5137vf208vsqchgqp00000gn/T//SD54758.000000"
{txt}
{com}. * Import initial data and generate state numbers (for state FE)
. import delimited "/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse19742019.csv"
{res}{text}(33 vars, 2,254 obs)

{com}. collapse pollib_median, by(st)
{txt}
{com}. gen stateNumber = _n
{txt}
{com}. sort st
{txt}
{com}. save "/Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta", replace
{txt}file /Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta saved

{com}. clear
{txt}
{com}. 
. insheet using "/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse19742019.csv"
{txt}(33 vars, 2,254 obs)

{com}. sort st
{txt}
{com}. merge st using "/Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta"
{txt}{p}
(note: you are using old
{bf:merge} syntax; see
{bf:{help merge:[D] merge}} for new syntax)
{p_end}
{p 0 4 2}
variable{txt} st
does not uniquely identify observations in
the master data
{p_end}

{com}. drop _merge
{txt}
{com}. 
. * Create TSCS dataset
. tsset stateNumber year
{res}{txt}{col 8}panel variable:  {res}stateNumber (strongly balanced)
{txt}{col 9}time variable:  {res}{col 25}year, 1974 to 2019
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. * xtset stateNumber year
. 
. * Generate custom lagged DVs without using the STATA operators (margins doesn't like it when you try to plot the marginal effects with the lagged operators)
. 
. gen ydiff = pollib_median - l.pollib_median
{txt}(49 missing values generated)

{com}. gen ydiff_L1 = l.ydiff
{txt}(98 missing values generated)

{com}. 
. * Set working directory
. cd "/Users/nmiras/Desktop/Stata/Partisan Misalignment"
{res}/Users/nmiras/Desktop/Stata/Partisan Misalignment
{txt}
{com}. 
{txt}end of do-file

{com}. do "/var/folders/cm/7_x4jw5137vf208vsqchgqp00000gn/T//SD54758.000000"
{txt}
{com}. xtunitroot llc pollib_median, lags(aic 10)

{txt}Levin-Lin-Chu unit-root test for {res}pollib_median
{txt}{hline 46}
Ho: Panels contain unit roots{col 45}Number of panels{col 63}={col 64}{res}     49
{txt}Ha: Panels are stationary{col 45}Number of periods{col 63}={col 64}{res}     46

{txt}AR parameter: {res}Common{txt}{col 45}Asymptotics: {res}N/T -> 0
{txt}Panel means:  {res}Included
{txt}Time trend:   {res}Not included

{txt}ADF regressions: {res}1.22{txt} lags average (chosen by {res}AIC{txt})
LR variance:     {res}Bartlett{txt} kernel, {res}11.00{txt} lags average (chosen by {res}LLC{txt})
{hline 78}
{col 21}Statistic{col 36}p-value
{hline 78}
{col 2}Unadjusted t{res}{col 21} -0.4962
{txt}{col 2}Adjusted t*{res}{col 21}  6.1169{col 37}1.0000
{txt}{hline 78}

{com}. 
{txt}end of do-file

{com}. do "/var/folders/cm/7_x4jw5137vf208vsqchgqp00000gn/T//SD54758.000000"
{txt}
{com}. * Create crosstab to show distribution (Table 1)
. tab misalignment_scale_factor

{txt}misalignmen {c |}
t_scale_fac {c |}
        tor {c |}      Freq.     Percent        Cum.
{hline 12}{c +}{hline 35}
          1 {c |}{res}         33        1.46        1.46
{txt}          2 {c |}{res}        348       15.44       16.90
{txt}          3 {c |}{res}         97        4.30       21.21
{txt}          4 {c |}{res}      1,120       49.69       70.90
{txt}          5 {c |}{res}        160        7.10       77.99
{txt}          6 {c |}{res}        450       19.96       97.96
{txt}          7 {c |}{res}         46        2.04      100.00
{txt}{hline 12}{c +}{hline 35}
      Total {c |}{res}      2,254      100.00
{txt}
{com}. 
. * Frequency of unified government at the state level (Figure 1)
. tabulate state dem_unified

               {txt}{c |}      dem_unified
         state {c |}         0          1 {c |}     Total
{hline 15}{c +}{hline 22}{c +}{hline 10}
       Alabama {c |}{res}        27         19 {txt}{c |}{res}        46 
{txt}        Alaska {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}       Arizona {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}      Arkansas {c |}{res}        20         26 {txt}{c |}{res}        46 
{txt}    California {c |}{res}        24         22 {txt}{c |}{res}        46 
{txt}      Colorado {c |}{res}        39          7 {txt}{c |}{res}        46 
{txt}   Connecticut {c |}{res}        25         21 {txt}{c |}{res}        46 
{txt}      Delaware {c |}{res}        33         13 {txt}{c |}{res}        46 
{txt}       Florida {c |}{res}        31         15 {txt}{c |}{res}        46 
{txt}       Georgia {c |}{res}        17         29 {txt}{c |}{res}        46 
{txt}        Hawaii {c |}{res}         8         38 {txt}{c |}{res}        46 
{txt}         Idaho {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}      Illinois {c |}{res}        31         15 {txt}{c |}{res}        46 
{txt}       Indiana {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}          Iowa {c |}{res}        42          4 {txt}{c |}{res}        46 
{txt}        Kansas {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}      Kentucky {c |}{res}        20         26 {txt}{c |}{res}        46 
{txt}     Louisiana {c |}{res}        25         21 {txt}{c |}{res}        46 
{txt}         Maine {c |}{res}        33         13 {txt}{c |}{res}        46 
{txt}      Maryland {c |}{res}         9         37 {txt}{c |}{res}        46 
{txt} Massachusetts {c |}{res}        22         24 {txt}{c |}{res}        46 
{txt}      Michigan {c |}{res}        45          1 {txt}{c |}{res}        46 
{txt}     Minnesota {c |}{res}        33         13 {txt}{c |}{res}        46 
{txt}   Mississippi {c |}{res}        24         22 {txt}{c |}{res}        46 
{txt}      Missouri {c |}{res}        34         12 {txt}{c |}{res}        46 
{txt}       Montana {c |}{res}        43          3 {txt}{c |}{res}        46 
{txt}        Nevada {c |}{res}        36         10 {txt}{c |}{res}        46 
{txt} New Hampshire {c |}{res}        42          4 {txt}{c |}{res}        46 
{txt}    New Jersey {c |}{res}        28         18 {txt}{c |}{res}        46 
{txt}    New Mexico {c |}{res}        22         24 {txt}{c |}{res}        46 
{txt}      New York {c |}{res}        40          6 {txt}{c |}{res}        46 
{txt}North Carolina {c |}{res}        26         20 {txt}{c |}{res}        46 
{txt}  North Dakota {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}          Ohio {c |}{res}        44          2 {txt}{c |}{res}        46 
{txt}      Oklahoma {c |}{res}        27         19 {txt}{c |}{res}        46 
{txt}        Oregon {c |}{res}        27         19 {txt}{c |}{res}        46 
{txt}  Pennsylvania {c |}{res}        41          5 {txt}{c |}{res}        46 
{txt}  Rhode Island {c |}{res}        25         21 {txt}{c |}{res}        46 
{txt}South Carolina {c |}{res}        37          9 {txt}{c |}{res}        46 
{txt}  South Dakota {c |}{res}        45          1 {txt}{c |}{res}        46 
{txt}     Tennessee {c |}{res}        32         14 {txt}{c |}{res}        46 
{txt}         Texas {c |}{res}        33         13 {txt}{c |}{res}        46 
{txt}          Utah {c |}{res}        44          2 {txt}{c |}{res}        46 
{txt}       Vermont {c |}{res}        32         14 {txt}{c |}{res}        46 
{txt}      Virginia {c |}{res}        34         12 {txt}{c |}{res}        46 
{txt}    Washington {c |}{res}        24         22 {txt}{c |}{res}        46 
{txt} West Virginia {c |}{res}        16         30 {txt}{c |}{res}        46 
{txt}     Wisconsin {c |}{res}        36         10 {txt}{c |}{res}        46 
{txt}       Wyoming {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}{hline 15}{c +}{hline 22}{c +}{hline 10}
         Total {c |}{res}     1,598        656 {txt}{c |}{res}     2,254 
{txt}
{com}. tabulate state rep_unified

               {txt}{c |}      rep_unified
         state {c |}         0          1 {c |}     Total
{hline 15}{c +}{hline 22}{c +}{hline 10}
       Alabama {c |}{res}        37          9 {txt}{c |}{res}        46 
{txt}        Alaska {c |}{res}        37          9 {txt}{c |}{res}        46 
{txt}       Arizona {c |}{res}        25         21 {txt}{c |}{res}        46 
{txt}      Arkansas {c |}{res}        41          5 {txt}{c |}{res}        46 
{txt}    California {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}      Colorado {c |}{res}        41          5 {txt}{c |}{res}        46 
{txt}   Connecticut {c |}{res}        45          1 {txt}{c |}{res}        46 
{txt}      Delaware {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}       Florida {c |}{res}        25         21 {txt}{c |}{res}        46 
{txt}       Georgia {c |}{res}        31         15 {txt}{c |}{res}        46 
{txt}        Hawaii {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}         Idaho {c |}{res}        21         25 {txt}{c |}{res}        46 
{txt}      Illinois {c |}{res}        44          2 {txt}{c |}{res}        46 
{txt}       Indiana {c |}{res}        24         22 {txt}{c |}{res}        46 
{txt}          Iowa {c |}{res}        36         10 {txt}{c |}{res}        46 
{txt}        Kansas {c |}{res}        24         22 {txt}{c |}{res}        46 
{txt}      Kentucky {c |}{res}        43          3 {txt}{c |}{res}        46 
{txt}     Louisiana {c |}{res}        41          5 {txt}{c |}{res}        46 
{txt}         Maine {c |}{res}        44          2 {txt}{c |}{res}        46 
{txt}      Maryland {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt} Massachusetts {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}      Michigan {c |}{res}        32         14 {txt}{c |}{res}        46 
{txt}     Minnesota {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}   Mississippi {c |}{res}        38          8 {txt}{c |}{res}        46 
{txt}      Missouri {c |}{res}        39          7 {txt}{c |}{res}        46 
{txt}       Montana {c |}{res}        36         10 {txt}{c |}{res}        46 
{txt}        Nevada {c |}{res}        44          2 {txt}{c |}{res}        46 
{txt} New Hampshire {c |}{res}        27         19 {txt}{c |}{res}        46 
{txt}    New Jersey {c |}{res}        38          8 {txt}{c |}{res}        46 
{txt}    New Mexico {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}      New York {c |}{res}        45          1 {txt}{c |}{res}        46 
{txt}North Carolina {c |}{res}        42          4 {txt}{c |}{res}        46 
{txt}  North Dakota {c |}{res}        19         27 {txt}{c |}{res}        46 
{txt}          Ohio {c |}{res}        25         21 {txt}{c |}{res}        46 
{txt}      Oklahoma {c |}{res}        37          9 {txt}{c |}{res}        46 
{txt}        Oregon {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}  Pennsylvania {c |}{res}        32         14 {txt}{c |}{res}        46 
{txt}  Rhode Island {c |}{res}        46          0 {txt}{c |}{res}        46 
{txt}South Carolina {c |}{res}        29         17 {txt}{c |}{res}        46 
{txt}  South Dakota {c |}{res}         7         39 {txt}{c |}{res}        46 
{txt}     Tennessee {c |}{res}        37          9 {txt}{c |}{res}        46 
{txt}         Texas {c |}{res}        29         17 {txt}{c |}{res}        46 
{txt}          Utah {c |}{res}        11         35 {txt}{c |}{res}        46 
{txt}       Vermont {c |}{res}        40          6 {txt}{c |}{res}        46 
{txt}      Virginia {c |}{res}        44          2 {txt}{c |}{res}        46 
{txt}    Washington {c |}{res}        44          2 {txt}{c |}{res}        46 
{txt} West Virginia {c |}{res}        44          2 {txt}{c |}{res}        46 
{txt}     Wisconsin {c |}{res}        36         10 {txt}{c |}{res}        46 
{txt}       Wyoming {c |}{res}        28         18 {txt}{c |}{res}        46 
{txt}{hline 15}{c +}{hline 22}{c +}{hline 10}
         Total {c |}{res}     1,776        478 {txt}{c |}{res}     2,254 
{txt}
{com}. 
. * Average annual change in state policy liberalism (Table 2)
. oneway ydiff misalignment_scale_factor if year < 1998, tabulate

{txt}misalignmen {c |}
t_scale_fac {c |}          Summary of ydiff
        tor {c |}        Mean   Std. Dev.       Freq.
{hline 12}{c +}{hline 36}
          1 {c |}  {res}-.05369822   .06585757          15
  {txt}        2 {c |}  {res}-.00814926   .08036499          99
  {txt}        4 {c |}  {res}-.00651081   .09383826         604
  {txt}        5 {c |}  {res} -.0090085   .09633228         127
  {txt}        6 {c |}  {res} .01336512   .10962066         282
{txt}{hline 12}{c +}{hline 36}
      Total {c |}  {res}-.00259086   .09738111       1,127

                        {txt}Analysis of Variance
    Source              SS         df      MS            F     Prob > F
{hline 72}
Between groups     {res}  .12854517      4   .032136293      3.42     0.0087
{txt} Within groups     {res} 10.5494043   1122   .009402321
{txt}{hline 72}
    Total          {res} 10.6779495   1126   .009483081

{txt}Bartlett's test for equal variances:  chi2({res}4{txt}) = {res} 19.7294{txt}  Prob>chi2 = {res}0.001
{txt}
{com}. oneway ydiff misalignment_scale_factor if year > 1997, tabulate

{txt}misalignmen {c |}
t_scale_fac {c |}          Summary of ydiff
        tor {c |}        Mean   Std. Dev.       Freq.
{hline 12}{c +}{hline 36}
          1 {c |}  {res} -.0591168   .04861377          18
  {txt}        2 {c |}  {res}-.04256437   .07030384         241
  {txt}        3 {c |}  {res}-.02963119   .07939448          97
  {txt}        4 {c |}  {res} .00368986   .08774131         494
  {txt}        5 {c |}  {res} .02462391   .07789776          33
  {txt}        6 {c |}  {res} .06656562   .13009408         149
  {txt}        7 {c |}  {res} .08198732   .17429074          46
{txt}{hline 12}{c +}{hline 36}
      Total {c |}  {res}  .0019747    .1022929       1,078

                        {txt}Analysis of Variance
    Source              SS         df      MS            F     Prob > F
{hline 72}
Between groups     {res} 1.57665509      6   .262775848     29.03     0.0000
{txt} Within groups     {res} 9.69289712   1071   .009050324
{txt}{hline 72}
    Total          {res} 11.2695522   1077   .010463837

{txt}Bartlett's test for equal variances:  chi2({res}6{txt}) = {res}147.0385{txt}  Prob>chi2 = {res}0.000
{txt}
{com}. oneway ydiff misalignment_scale_factor, tabulate 

{txt}misalignmen {c |}
t_scale_fac {c |}          Summary of ydiff
        tor {c |}        Mean   Std. Dev.       Freq.
{hline 12}{c +}{hline 36}
          1 {c |}  {res}-.05665381   .05621871          33
  {txt}        2 {c |}  {res} -.0325435    .0749096         340
  {txt}        3 {c |}  {res}-.02963119   .07939448          97
  {txt}        4 {c |}  {res}-.00192144   .09124603       1,098
  {txt}        5 {c |}  {res}-.00207181   .09360278         160
  {txt}        6 {c |}  {res} .03175694    .1196646         431
  {txt}        7 {c |}  {res} .08198732   .17429074          46
{txt}{hline 12}{c +}{hline 36}
      Total {c |}  {res}-.00035881   .09981604       2,205

                        {txt}Analysis of Variance
    Source              SS         df      MS            F     Prob > F
{hline 72}
Between groups     {res} 1.29950236      6   .216583727     23.04     0.0000
{txt} Within groups     {res} 20.6594841   2198   .009399219
{txt}{hline 72}
    Total          {res} 21.9589865   2204   .009963242

{txt}Bartlett's test for equal variances:  chi2({res}6{txt}) = {res}157.8048{txt}  Prob>chi2 = {res}0.000
{txt}
{com}. 
. * Descriptives of new years from Caughey and Warshaw data update
. oneway ydiff misalignment_scale_factor if year > 2014, tabulate

{txt}misalignmen {c |}
t_scale_fac {c |}          Summary of ydiff
        tor {c |}        Mean   Std. Dev.       Freq.
{hline 12}{c +}{hline 36}
          2 {c |}  {res}-.02999229   .07092183          68
  {txt}        3 {c |}  {res}-.03126289   .09632512          49
  {txt}        4 {c |}  {res} .02472571   .08082618          86
  {txt}        6 {c |}  {res}  .1288827   .13900901          28
  {txt}        7 {c |}  {res} .07518455    .1258715          14
{txt}{hline 12}{c +}{hline 36}
      Total {c |}  {res} .01312797   .10575685         245

                        {txt}Analysis of Variance
    Source              SS         df      MS            F     Prob > F
{hline 72}
Between groups     {res}  .66365151      4   .165912877     19.28     0.0000
{txt} Within groups     {res} 2.06536904    240   .008605704
{txt}{hline 72}
    Total          {res} 2.72902055    244    .01118451

{txt}Bartlett's test for equal variances:  chi2({res}4{txt}) = {res} 25.6801{txt}  Prob>chi2 = {res}0.000
{txt}
{com}. 
. * Pairwise comparisons for means
. 
. * Full period
. pwmean ydiff, over(misalignment_scale_factor) effects

{txt}Pairwise comparisons of means with equal variances

{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:misalignment_scale_factor}{p_end}
{p2colreset}{...}

{res}{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 42}      Una{col 51}djusted{col 59}          Una{col 72}djusted
{col 1}            ydiff{col 19}{c |}   Contrast{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
misalignment_sc~r {c |}
{space 10}2 vs 1  {c |}{col 19}{res}{space 2} .0241103{col 31}{space 2} .0176768{col 42}{space 1}    1.36{col 51}{space 3}0.173{col 59}{space 4}-.0105547{col 72}{space 3} .0587753
{txt}{space 10}3 vs 1  {c |}{col 19}{res}{space 2} .0270226{col 31}{space 2} .0195378{col 42}{space 1}    1.38{col 51}{space 3}0.167{col 59}{space 4}-.0112918{col 72}{space 3}  .065337
{txt}{space 10}4 vs 1  {c |}{col 19}{res}{space 2} .0547324{col 31}{space 2} .0171285{col 42}{space 1}    3.20{col 51}{space 3}0.001{col 59}{space 4} .0211426{col 72}{space 3} .0883221
{txt}{space 10}5 vs 1  {c |}{col 19}{res}{space 2}  .054582{col 31}{space 2} .0185356{col 42}{space 1}    2.94{col 51}{space 3}0.003{col 59}{space 4} .0182328{col 72}{space 3} .0909312
{txt}{space 10}6 vs 1  {c |}{col 19}{res}{space 2} .0884108{col 31}{space 2} .0175109{col 42}{space 1}    5.05{col 51}{space 3}0.000{col 59}{space 4}  .054071{col 72}{space 3} .1227505
{txt}{space 10}7 vs 1  {c |}{col 19}{res}{space 2} .1386411{col 31}{space 2} .0221169{col 42}{space 1}    6.27{col 51}{space 3}0.000{col 59}{space 4}  .095269{col 72}{space 3} .1820133
{txt}{space 10}3 vs 2  {c |}{col 19}{res}{space 2} .0029123{col 31}{space 2} .0111599{col 42}{space 1}    0.26{col 51}{space 3}0.794{col 59}{space 4}-.0189728{col 72}{space 3} .0247974
{txt}{space 10}4 vs 2  {c |}{col 19}{res}{space 2} .0306221{col 31}{space 2} .0060171{col 42}{space 1}    5.09{col 51}{space 3}0.000{col 59}{space 4} .0188223{col 72}{space 3} .0424218
{txt}{space 10}5 vs 2  {c |}{col 19}{res}{space 2} .0304717{col 31}{space 2} .0092946{col 42}{space 1}    3.28{col 51}{space 3}0.001{col 59}{space 4} .0122445{col 72}{space 3} .0486988
{txt}{space 10}6 vs 2  {c |}{col 19}{res}{space 2} .0643004{col 31}{space 2} .0070323{col 42}{space 1}    9.14{col 51}{space 3}0.000{col 59}{space 4} .0505099{col 72}{space 3}  .078091
{txt}{space 10}7 vs 2  {c |}{col 19}{res}{space 2} .1145308{col 31}{space 2} .0152307{col 42}{space 1}    7.52{col 51}{space 3}0.000{col 59}{space 4} .0846627{col 72}{space 3}  .144399
{txt}{space 10}4 vs 3  {c |}{col 19}{res}{space 2} .0277098{col 31}{space 2} .0102693{col 42}{space 1}    2.70{col 51}{space 3}0.007{col 59}{space 4} .0075711{col 72}{space 3} .0478484
{txt}{space 10}5 vs 3  {c |}{col 19}{res}{space 2} .0275594{col 31}{space 2} .0124757{col 42}{space 1}    2.21{col 51}{space 3}0.027{col 59}{space 4} .0030939{col 72}{space 3} .0520249
{txt}{space 10}6 vs 3  {c |}{col 19}{res}{space 2} .0613881{col 31}{space 2} .0108953{col 42}{space 1}    5.63{col 51}{space 3}0.000{col 59}{space 4}  .040022{col 72}{space 3} .0827543
{txt}{space 10}7 vs 3  {c |}{col 19}{res}{space 2} .1116185{col 31}{space 2}  .017356{col 42}{space 1}    6.43{col 51}{space 3}0.000{col 59}{space 4} .0775827{col 72}{space 3} .1456544
{txt}{space 10}5 vs 4  {c |}{col 19}{res}{space 2}-.0001504{col 31}{space 2}  .008204{col 42}{space 1}   -0.02{col 51}{space 3}0.985{col 59}{space 4}-.0162388{col 72}{space 3}  .015938
{txt}{space 10}6 vs 4  {c |}{col 19}{res}{space 2} .0336784{col 31}{space 2} .0055107{col 42}{space 1}    6.11{col 51}{space 3}0.000{col 59}{space 4} .0228716{col 72}{space 3} .0444852
{txt}{space 10}7 vs 4  {c |}{col 19}{res}{space 2} .0839088{col 31}{space 2} .0145908{col 42}{space 1}    5.75{col 51}{space 3}0.000{col 59}{space 4} .0552956{col 72}{space 3} .1125219
{txt}{space 10}6 vs 5  {c |}{col 19}{res}{space 2} .0338288{col 31}{space 2} .0089751{col 42}{space 1}    3.77{col 51}{space 3}0.000{col 59}{space 4} .0162281{col 72}{space 3} .0514294
{txt}{space 10}7 vs 5  {c |}{col 19}{res}{space 2} .0840591{col 31}{space 2} .0162196{col 42}{space 1}    5.18{col 51}{space 3}0.000{col 59}{space 4} .0522518{col 72}{space 3} .1158665
{txt}{space 10}7 vs 6  {c |}{col 19}{res}{space 2} .0502304{col 31}{space 2} .0150379{col 42}{space 1}    3.34{col 51}{space 3}0.001{col 59}{space 4} .0207404{col 72}{space 3} .0797204
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. clear 
{txt}
{com}. * Import initial data and generate state numbers (for state FE)
. import delimited "/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse19741997.csv"
{res}{text}(33 vars, 1,176 obs)

{com}. collapse pollib_median, by(st)
{txt}
{com}. gen stateNumber = _n
{txt}
{com}. sort st
{txt}
{com}. save "/Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta", replace
{txt}file /Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta saved

{com}. clear
{txt}
{com}. 
. insheet using "/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse19741997.csv"
{txt}(33 vars, 1,176 obs)

{com}. sort st
{txt}
{com}. merge st using "/Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta"
{txt}{p}
(note: you are using old
{bf:merge} syntax; see
{bf:{help merge:[D] merge}} for new syntax)
{p_end}
{p 0 4 2}
variable{txt} st
does not uniquely identify observations in
the master data
{p_end}

{com}. drop _merge
{txt}
{com}. 
. * Create TSCS dataset
. tsset stateNumber year
{res}{txt}{col 8}panel variable:  {res}stateNumber (strongly balanced)
{txt}{col 9}time variable:  {res}{col 25}year, 1974 to 1997
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. * xtset stateNumber year
. 
. * Generate custom lagged DVs without using the STATA operators (margins doesn't like it when you try to plot the marginal effects with the lagged operators)
. 
. gen ydiff = pollib_median - l.pollib_median
{txt}(49 missing values generated)

{com}. gen ydiff_L1 = l.ydiff
{txt}(98 missing values generated)

{com}. 
. * 1975-1997
. pwmean ydiff, over(misalignment_scale_factor) effects

{txt}Pairwise comparisons of means with equal variances

{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:misalignment_scale_factor}{p_end}
{p2colreset}{...}

{res}{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 42}      Una{col 51}djusted{col 59}          Una{col 72}djusted
{col 1}            ydiff{col 19}{c |}   Contrast{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
misalignment_sc~r {c |}
{space 10}2 vs 1  {c |}{col 19}{res}{space 2}  .045549{col 31}{space 2} .0268662{col 42}{space 1}    1.70{col 51}{space 3}0.090{col 59}{space 4}-.0071647{col 72}{space 3} .0982627
{txt}{space 10}4 vs 1  {c |}{col 19}{res}{space 2} .0471874{col 31}{space 2} .0253454{col 42}{space 1}    1.86{col 51}{space 3}0.063{col 59}{space 4}-.0025423{col 72}{space 3} .0969171
{txt}{space 10}5 vs 1  {c |}{col 19}{res}{space 2} .0446897{col 31}{space 2} .0264737{col 42}{space 1}    1.69{col 51}{space 3}0.092{col 59}{space 4}-.0072538{col 72}{space 3} .0966332
{txt}{space 10}6 vs 1  {c |}{col 19}{res}{space 2} .0670633{col 31}{space 2} .0256936{col 42}{space 1}    2.61{col 51}{space 3}0.009{col 59}{space 4} .0166504{col 72}{space 3} .1174763
{txt}{space 10}4 vs 2  {c |}{col 19}{res}{space 2} .0016384{col 31}{space 2} .0105138{col 42}{space 1}    0.16{col 51}{space 3}0.876{col 59}{space 4}-.0189905{col 72}{space 3} .0222673
{txt}{space 10}5 vs 2  {c |}{col 19}{res}{space 2}-.0008592{col 31}{space 2} .0130003{col 42}{space 1}   -0.07{col 51}{space 3}0.947{col 59}{space 4}-.0263668{col 72}{space 3} .0246483
{txt}{space 10}6 vs 2  {c |}{col 19}{res}{space 2} .0215144{col 31}{space 2} .0113276{col 42}{space 1}    1.90{col 51}{space 3}0.058{col 59}{space 4}-.0007113{col 72}{space 3}   .04374
{txt}{space 10}5 vs 4  {c |}{col 19}{res}{space 2}-.0024977{col 31}{space 2} .0094658{col 42}{space 1}   -0.26{col 51}{space 3}0.792{col 59}{space 4}-.0210703{col 72}{space 3} .0160749
{txt}{space 10}6 vs 4  {c |}{col 19}{res}{space 2} .0198759{col 31}{space 2} .0069934{col 42}{space 1}    2.84{col 51}{space 3}0.005{col 59}{space 4} .0061542{col 72}{space 3} .0335976
{txt}{space 10}6 vs 5  {c |}{col 19}{res}{space 2} .0223736{col 31}{space 2} .0103622{col 42}{space 1}    2.16{col 51}{space 3}0.031{col 59}{space 4} .0020421{col 72}{space 3} .0427051
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. clear 
{txt}
{com}. * Import initial data and generate state numbers (for state FE)
. import delimited "/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse19982019.csv"
{res}{text}(33 vars, 1,176 obs)

{com}. collapse pollib_median, by(st)
{txt}
{com}. gen stateNumber = _n
{txt}
{com}. sort st
{txt}
{com}. save "/Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta", replace
{txt}file /Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta saved

{com}. clear
{txt}
{com}. 
. insheet using "/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse19982019.csv"
{txt}(33 vars, 1,176 obs)

{com}. sort st
{txt}
{com}. merge st using "/Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta"
{txt}{p}
(note: you are using old
{bf:merge} syntax; see
{bf:{help merge:[D] merge}} for new syntax)
{p_end}
{p 0 4 2}
variable{txt} st
does not uniquely identify observations in
the master data
{p_end}

{com}. drop _merge
{txt}
{com}. 
. * Create TSCS dataset
. tsset stateNumber year
{res}{txt}{col 8}panel variable:  {res}stateNumber (strongly balanced)
{txt}{col 9}time variable:  {res}{col 25}year, 1974 to 1997
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. * xtset stateNumber year
. 
. * Generate custom lagged DVs without using the STATA operators (margins doesn't like it when you try to plot the marginal effects with the lagged operators)
. 
. gen ydiff = pollib_median - l.pollib_median
{txt}(49 missing values generated)

{com}. gen ydiff_L1 = l.ydiff
{txt}(98 missing values generated)

{com}. 
. * 1998-2019
. pwmean ydiff, over(misalignment_scale_factor) effects

{txt}Pairwise comparisons of means with equal variances

{txt}{p2colset 1 14 16 2}{...}
{p2col:over}:{space 1}{res:misalignment_scale_factor}{p_end}
{p2colreset}{...}

{res}{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 42}      Una{col 51}djusted{col 59}          Una{col 72}djusted
{col 1}            ydiff{col 19}{c |}   Contrast{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
misalignment_sc~r {c |}
{space 10}2 vs 1  {c |}{col 19}{res}{space 2}  .045549{col 31}{space 2} .0268662{col 42}{space 1}    1.70{col 51}{space 3}0.090{col 59}{space 4}-.0071647{col 72}{space 3} .0982627
{txt}{space 10}4 vs 1  {c |}{col 19}{res}{space 2} .0471874{col 31}{space 2} .0253454{col 42}{space 1}    1.86{col 51}{space 3}0.063{col 59}{space 4}-.0025423{col 72}{space 3} .0969171
{txt}{space 10}5 vs 1  {c |}{col 19}{res}{space 2} .0446897{col 31}{space 2} .0264737{col 42}{space 1}    1.69{col 51}{space 3}0.092{col 59}{space 4}-.0072538{col 72}{space 3} .0966332
{txt}{space 10}6 vs 1  {c |}{col 19}{res}{space 2} .0670633{col 31}{space 2} .0256936{col 42}{space 1}    2.61{col 51}{space 3}0.009{col 59}{space 4} .0166504{col 72}{space 3} .1174763
{txt}{space 10}4 vs 2  {c |}{col 19}{res}{space 2} .0016384{col 31}{space 2} .0105138{col 42}{space 1}    0.16{col 51}{space 3}0.876{col 59}{space 4}-.0189905{col 72}{space 3} .0222673
{txt}{space 10}5 vs 2  {c |}{col 19}{res}{space 2}-.0008592{col 31}{space 2} .0130003{col 42}{space 1}   -0.07{col 51}{space 3}0.947{col 59}{space 4}-.0263668{col 72}{space 3} .0246483
{txt}{space 10}6 vs 2  {c |}{col 19}{res}{space 2} .0215144{col 31}{space 2} .0113276{col 42}{space 1}    1.90{col 51}{space 3}0.058{col 59}{space 4}-.0007113{col 72}{space 3}   .04374
{txt}{space 10}5 vs 4  {c |}{col 19}{res}{space 2}-.0024977{col 31}{space 2} .0094658{col 42}{space 1}   -0.26{col 51}{space 3}0.792{col 59}{space 4}-.0210703{col 72}{space 3} .0160749
{txt}{space 10}6 vs 4  {c |}{col 19}{res}{space 2} .0198759{col 31}{space 2} .0069934{col 42}{space 1}    2.84{col 51}{space 3}0.005{col 59}{space 4} .0061542{col 72}{space 3} .0335976
{txt}{space 10}6 vs 5  {c |}{col 19}{res}{space 2} .0223736{col 31}{space 2} .0103622{col 42}{space 1}    2.16{col 51}{space 3}0.031{col 59}{space 4} .0020421{col 72}{space 3} .0427051
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. clear
{txt}
{com}. 
{txt}end of do-file

{com}. do "/var/folders/cm/7_x4jw5137vf208vsqchgqp00000gn/T//SD54758.000000"
{txt}
{com}. ****************************************************
. ****************************************************
. *
. * Main models for paper
. *
. 
. * Reload full data
. * Import initial data and generate state numbers (for state FE)
. import delimited "/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse19742019.csv"
{res}{text}(33 vars, 2,254 obs)

{com}. collapse pollib_median, by(st)
{txt}
{com}. gen stateNumber = _n
{txt}
{com}. sort st
{txt}
{com}. save "/Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta", replace
{txt}file /Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta saved

{com}. clear
{txt}
{com}. 
. insheet using "/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse19742019.csv"
{txt}(33 vars, 2,254 obs)

{com}. sort st
{txt}
{com}. merge st using "/Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta"
{txt}{p}
(note: you are using old
{bf:merge} syntax; see
{bf:{help merge:[D] merge}} for new syntax)
{p_end}
{p 0 4 2}
variable{txt} st
does not uniquely identify observations in
the master data
{p_end}

{com}. drop _merge
{txt}
{com}. 
. * Create TSCS dataset
. tsset stateNumber year
{res}{txt}{col 8}panel variable:  {res}stateNumber (strongly balanced)
{txt}{col 9}time variable:  {res}{col 25}year, 1974 to 2019
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. * xtset stateNumber year
. 
. * Generate custom lagged DVs without using the STATA operators (margins doesn't like it when you try to plot the marginal effects with the lagged operators)
. 
. gen ydiff = pollib_median - l.pollib_median
{txt}(49 missing values generated)

{com}. gen ydiff_L1 = l.ydiff
{txt}(98 missing values generated)

{com}. 
. * Set working directory
. cd "/Users/nmiras/Desktop/Stata/Partisan Misalignment"
{res}/Users/nmiras/Desktop/Stata/Partisan Misalignment
{txt}
{com}. 
. * Full panel (1976-2019)
. 
. * Model 1
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     2,156
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.1097
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}56{txt}){col 67}= {res}   1158.73
{txt}Estimated coefficients{col 28}= {res}       62{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0549217{col 31}{space 2} .0321196{col 42}{space 1}   -1.71{col 51}{space 3}0.087{col 59}{space 4} -.117875{col 72}{space 3} .0080315
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0568945{col 31}{space 2} .0172477{col 42}{space 1}   -3.30{col 51}{space 3}0.001{col 59}{space 4}-.0906993{col 72}{space 3}-.0230897
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0237671{col 31}{space 2} .0071554{col 42}{space 1}   -3.32{col 51}{space 3}0.001{col 59}{space 4}-.0377915{col 72}{space 3}-.0097426
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0160625{col 31}{space 2} .0114357{col 42}{space 1}   -1.40{col 51}{space 3}0.160{col 59}{space 4}-.0384762{col 72}{space 3} .0063511
{txt}{space 15}5  {c |}{col 19}{res}{space 2}  .005249{col 31}{space 2} .0098875{col 42}{space 1}    0.53{col 51}{space 3}0.596{col 59}{space 4}-.0141303{col 72}{space 3} .0246282
{txt}{space 15}6  {c |}{col 19}{res}{space 2}  .039866{col 31}{space 2} .0068988{col 42}{space 1}    5.78{col 51}{space 3}0.000{col 59}{space 4} .0263445{col 72}{space 3} .0533874
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0784829{col 31}{space 2} .0154567{col 42}{space 1}    5.08{col 51}{space 3}0.000{col 59}{space 4} .0481884{col 72}{space 3} .1087774
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0081367{col 31}{space 2} .0089014{col 42}{space 1}    0.91{col 51}{space 3}0.361{col 59}{space 4}-.0093096{col 72}{space 3} .0255831
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0009523{col 31}{space 2} .0081577{col 42}{space 1}    0.12{col 51}{space 3}0.907{col 59}{space 4}-.0150365{col 72}{space 3} .0169412
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0004643{col 31}{space 2} .0002041{col 42}{space 1}    2.27{col 51}{space 3}0.023{col 59}{space 4} .0000642{col 72}{space 3} .0008643
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0039009{col 31}{space 2} .0052044{col 42}{space 1}    0.75{col 51}{space 3}0.454{col 59}{space 4}-.0062995{col 72}{space 3} .0141013
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0008066{col 31}{space 2} .0003082{col 42}{space 1}    2.62{col 51}{space 3}0.009{col 59}{space 4} .0002026{col 72}{space 3} .0014106
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0013843{col 31}{space 2} .0015076{col 42}{space 1}    0.92{col 51}{space 3}0.359{col 59}{space 4}-.0015706{col 72}{space 3} .0043392
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0128854{col 31}{space 2}  .026464{col 42}{space 1}   -0.49{col 51}{space 3}0.626{col 59}{space 4}-.0647538{col 72}{space 3}  .038983
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.019662{col 31}{space 2} .0239437{col 42}{space 1}   -0.82{col 51}{space 3}0.412{col 59}{space 4}-.0665909{col 72}{space 3} .0272668
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0114936{col 31}{space 2} .0187339{col 42}{space 1}    0.61{col 51}{space 3}0.540{col 59}{space 4}-.0252242{col 72}{space 3} .0482114
{txt}{space 15}5  {c |}{col 19}{res}{space 2}  .004954{col 31}{space 2} .0365606{col 42}{space 1}    0.14{col 51}{space 3}0.892{col 59}{space 4}-.0667035{col 72}{space 3} .0766115
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0124262{col 31}{space 2} .0229787{col 42}{space 1}    0.54{col 51}{space 3}0.589{col 59}{space 4}-.0326112{col 72}{space 3} .0574636
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0152624{col 31}{space 2} .0236335{col 42}{space 1}    0.65{col 51}{space 3}0.518{col 59}{space 4}-.0310585{col 72}{space 3} .0615832
{txt}{space 15}8  {c |}{col 19}{res}{space 2}  .009097{col 31}{space 2} .0228824{col 42}{space 1}    0.40{col 51}{space 3}0.691{col 59}{space 4}-.0357517{col 72}{space 3} .0539456
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0081693{col 31}{space 2} .0241959{col 42}{space 1}    0.34{col 51}{space 3}0.736{col 59}{space 4}-.0392538{col 72}{space 3} .0555923
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0211892{col 31}{space 2} .0212779{col 42}{space 1}   -1.00{col 51}{space 3}0.319{col 59}{space 4}-.0628931{col 72}{space 3} .0205147
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0449445{col 31}{space 2}  .025139{col 42}{space 1}   -1.79{col 51}{space 3}0.074{col 59}{space 4}-.0942161{col 72}{space 3} .0043271
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0159909{col 31}{space 2} .0250218{col 42}{space 1}    0.64{col 51}{space 3}0.523{col 59}{space 4}-.0330509{col 72}{space 3} .0650328
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0197404{col 31}{space 2} .0252638{col 42}{space 1}    0.78{col 51}{space 3}0.435{col 59}{space 4}-.0297758{col 72}{space 3} .0692565
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0020403{col 31}{space 2} .0197424{col 42}{space 1}    0.10{col 51}{space 3}0.918{col 59}{space 4}-.0366541{col 72}{space 3} .0407347
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0097461{col 31}{space 2} .0238098{col 42}{space 1}    0.41{col 51}{space 3}0.682{col 59}{space 4}-.0369203{col 72}{space 3} .0564125
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0144358{col 31}{space 2} .0214391{col 42}{space 1}    0.67{col 51}{space 3}0.501{col 59}{space 4}-.0275842{col 72}{space 3} .0564557
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0297704{col 31}{space 2} .0228741{col 42}{space 1}   -1.30{col 51}{space 3}0.193{col 59}{space 4}-.0746028{col 72}{space 3} .0150619
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.0020039{col 31}{space 2} .0245526{col 42}{space 1}   -0.08{col 51}{space 3}0.935{col 59}{space 4}-.0501262{col 72}{space 3} .0461184
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0367539{col 31}{space 2} .0266452{col 42}{space 1}   -1.38{col 51}{space 3}0.168{col 59}{space 4}-.0889776{col 72}{space 3} .0154697
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0103024{col 31}{space 2} .0269399{col 42}{space 1}   -0.38{col 51}{space 3}0.702{col 59}{space 4}-.0631037{col 72}{space 3} .0424988
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0071246{col 31}{space 2} .0260957{col 42}{space 1}    0.27{col 51}{space 3}0.785{col 59}{space 4}-.0440221{col 72}{space 3} .0582713
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0304122{col 31}{space 2} .0211643{col 42}{space 1}   -1.44{col 51}{space 3}0.151{col 59}{space 4}-.0718934{col 72}{space 3}  .011069
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0019332{col 31}{space 2} .0266464{col 42}{space 1}    0.07{col 51}{space 3}0.942{col 59}{space 4}-.0502928{col 72}{space 3} .0541592
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0173822{col 31}{space 2} .0227828{col 42}{space 1}   -0.76{col 51}{space 3}0.445{col 59}{space 4}-.0620356{col 72}{space 3} .0272712
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.0147291{col 31}{space 2}   .02134{col 42}{space 1}   -0.69{col 51}{space 3}0.490{col 59}{space 4}-.0565548{col 72}{space 3} .0270966
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0148195{col 31}{space 2} .0244309{col 42}{space 1}    0.61{col 51}{space 3}0.544{col 59}{space 4}-.0330641{col 72}{space 3} .0627031
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.0209746{col 31}{space 2} .0203937{col 42}{space 1}   -1.03{col 51}{space 3}0.304{col 59}{space 4}-.0609455{col 72}{space 3} .0189962
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0129957{col 31}{space 2} .0207088{col 42}{space 1}    0.63{col 51}{space 3}0.530{col 59}{space 4}-.0275929{col 72}{space 3} .0535842
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0374958{col 31}{space 2} .0297202{col 42}{space 1}    1.26{col 51}{space 3}0.207{col 59}{space 4}-.0207548{col 72}{space 3} .0957465
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0090213{col 31}{space 2} .0235487{col 42}{space 1}    0.38{col 51}{space 3}0.702{col 59}{space 4}-.0371332{col 72}{space 3} .0551758
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0282929{col 31}{space 2} .0307047{col 42}{space 1}    0.92{col 51}{space 3}0.357{col 59}{space 4}-.0318871{col 72}{space 3}  .088473
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0328293{col 31}{space 2} .0228451{col 42}{space 1}    1.44{col 51}{space 3}0.151{col 59}{space 4}-.0119463{col 72}{space 3}  .077605
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0089694{col 31}{space 2} .0264691{col 42}{space 1}   -0.34{col 51}{space 3}0.735{col 59}{space 4}-.0608478{col 72}{space 3}  .042909
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0018796{col 31}{space 2} .0200623{col 42}{space 1}   -0.09{col 51}{space 3}0.925{col 59}{space 4} -.041201{col 72}{space 3} .0374418
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0101491{col 31}{space 2} .0215686{col 42}{space 1}   -0.47{col 51}{space 3}0.638{col 59}{space 4}-.0524227{col 72}{space 3} .0321246
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0114443{col 31}{space 2} .0239757{col 42}{space 1}    0.48{col 51}{space 3}0.633{col 59}{space 4}-.0355473{col 72}{space 3} .0584359
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0251254{col 31}{space 2} .0183761{col 42}{space 1}   -1.37{col 51}{space 3}0.172{col 59}{space 4}-.0611419{col 72}{space 3} .0108911
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0218395{col 31}{space 2}  .026385{col 42}{space 1}   -0.83{col 51}{space 3}0.408{col 59}{space 4}-.0735531{col 72}{space 3} .0298742
{txt}{space 14}39  {c |}{col 19}{res}{space 2}-.0026646{col 31}{space 2} .0203934{col 42}{space 1}   -0.13{col 51}{space 3}0.896{col 59}{space 4}-.0426349{col 72}{space 3} .0373056
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0164223{col 31}{space 2} .0217046{col 42}{space 1}    0.76{col 51}{space 3}0.449{col 59}{space 4} -.026118{col 72}{space 3} .0589625
{txt}{space 14}41  {c |}{col 19}{res}{space 2}-.0035529{col 31}{space 2} .0273611{col 42}{space 1}   -0.13{col 51}{space 3}0.897{col 59}{space 4}-.0571796{col 72}{space 3} .0500738
{txt}{space 14}42  {c |}{col 19}{res}{space 2} .0083424{col 31}{space 2} .0205446{col 42}{space 1}    0.41{col 51}{space 3}0.685{col 59}{space 4}-.0319243{col 72}{space 3} .0486091
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0442501{col 31}{space 2} .0238706{col 42}{space 1}    1.85{col 51}{space 3}0.064{col 59}{space 4}-.0025354{col 72}{space 3} .0910355
{txt}{space 14}44  {c |}{col 19}{res}{space 2} .0066707{col 31}{space 2} .0278339{col 42}{space 1}    0.24{col 51}{space 3}0.811{col 59}{space 4}-.0478826{col 72}{space 3} .0612241
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0189424{col 31}{space 2} .0265353{col 42}{space 1}    0.71{col 51}{space 3}0.475{col 59}{space 4}-.0330658{col 72}{space 3} .0709507
{txt}{space 14}46  {c |}{col 19}{res}{space 2}  .012902{col 31}{space 2} .0261758{col 42}{space 1}    0.49{col 51}{space 3}0.622{col 59}{space 4}-.0384016{col 72}{space 3} .0642056
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0253532{col 31}{space 2} .0234192{col 42}{space 1}   -1.08{col 51}{space 3}0.279{col 59}{space 4}-.0712541{col 72}{space 3} .0205477
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0423747{col 31}{space 2} .0235804{col 42}{space 1}   -1.80{col 51}{space 3}0.072{col 59}{space 4}-.0885914{col 72}{space 3}  .003842
{txt}{space 14}49  {c |}{col 19}{res}{space 2}   .02934{col 31}{space 2} .0233204{col 42}{space 1}    1.26{col 51}{space 3}0.208{col 59}{space 4}-.0163671{col 72}{space 3} .0750471
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0443015{col 31}{space 2} .0227017{col 42}{space 1}   -1.95{col 51}{space 3}0.051{col 59}{space 4}-.0887959{col 72}{space 3} .0001929
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using table3.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) replace dec(2) pdec(3)
{txt}{browse `"table3.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "table3.txt""':seeout}

{com}. 
. margins(b4.i.misalignment_scale_factor), pwcompare(groups)
{res}
{txt}Pairwise comparisons of predictive margins
Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 3}{hline 10}
{col 27}{c |}{col 39} Delta-method{col 53}Unadjusted
{col 27}{c |}     Margin{col 39}   Std. Err.{col 53}    Groups
{hline 26}{c +}{hline 11}{hline 11}{hline 3}{hline 10}
misalignment_scale_factor {c |}
{space 23}1  {c |}{col 27}{res}{space 2}-.0617964{col 39}{space 2}  .016936{col 53}{txt}       A  
{space 23}2  {c |}{col 27}{res}{space 2} -.028669{col 39}{space 2} .0065933{col 53}{txt}       AB 
{space 23}3  {c |}{col 27}{res}{space 2}-.0209645{col 39}{space 2} .0110048{col 53}{txt}        BC
{space 23}4  {c |}{col 27}{res}{space 2}-.0049019{col 39}{space 2} .0035223{col 53}{txt}         C
{space 23}5  {c |}{col 27}{res}{space 2}  .000347{col 39}{space 2} .0092859{col 53}{txt}         C
{space 23}6  {c |}{col 27}{res}{space 2}  .034964{col 39}{space 2} .0061001
{txt}{space 23}7  {c |}{col 27}{res}{space 2} .0735809{col 39}{space 2} .0153774
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 3}{hline 10}
{p 0 6 0 62}Note: Margins sharing a letter in the group label are not significantly different at the 5% level. {p_end}
{res}{txt}
{com}. margins(b4.i.misalignment_scale_factor), post
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     2,156
{txt}Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31} Delta-method
{col 19}{c |}     Margin{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0617964{col 31}{space 2}  .016936{col 42}{space 1}   -3.65{col 51}{space 3}0.000{col 59}{space 4}-.0949904{col 72}{space 3}-.0286025
{txt}{space 15}2  {c |}{col 19}{res}{space 2} -.028669{col 31}{space 2} .0065933{col 42}{space 1}   -4.35{col 51}{space 3}0.000{col 59}{space 4}-.0415916{col 72}{space 3}-.0157464
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0209645{col 31}{space 2} .0110048{col 42}{space 1}   -1.91{col 51}{space 3}0.057{col 59}{space 4}-.0425335{col 72}{space 3} .0006046
{txt}{space 15}4  {c |}{col 19}{res}{space 2}-.0049019{col 31}{space 2} .0035223{col 42}{space 1}   -1.39{col 51}{space 3}0.164{col 59}{space 4}-.0118056{col 72}{space 3} .0020017
{txt}{space 15}5  {c |}{col 19}{res}{space 2}  .000347{col 31}{space 2} .0092859{col 42}{space 1}    0.04{col 51}{space 3}0.970{col 59}{space 4} -.017853{col 72}{space 3}  .018547
{txt}{space 15}6  {c |}{col 19}{res}{space 2}  .034964{col 31}{space 2} .0061001{col 42}{space 1}    5.73{col 51}{space 3}0.000{col 59}{space 4}  .023008{col 72}{space 3}   .04692
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0735809{col 31}{space 2} .0153774{col 42}{space 1}    4.78{col 51}{space 3}0.000{col 59}{space 4} .0434417{col 72}{space 3} .1037202
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store model1
{txt}
{com}. 
. * Model 2
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if south == 0 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,672
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.1162
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}50{txt}){col 67}= {res}   2343.59
{txt}Estimated coefficients{col 28}= {res}       51{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0489115{col 31}{space 2} .0343615{col 42}{space 1}   -1.42{col 51}{space 3}0.155{col 59}{space 4}-.1162587{col 72}{space 3} .0184358
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2} -.057683{col 31}{space 2} .0196004{col 42}{space 1}   -2.94{col 51}{space 3}0.003{col 59}{space 4}-.0960992{col 72}{space 3}-.0192669
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0193327{col 31}{space 2} .0079212{col 42}{space 1}   -2.44{col 51}{space 3}0.015{col 59}{space 4} -.034858{col 72}{space 3}-.0038075
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0139225{col 31}{space 2}  .012604{col 42}{space 1}   -1.10{col 51}{space 3}0.269{col 59}{space 4}-.0386259{col 72}{space 3} .0107809
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0007415{col 31}{space 2} .0119161{col 42}{space 1}    0.06{col 51}{space 3}0.950{col 59}{space 4}-.0226135{col 72}{space 3} .0240966
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0370084{col 31}{space 2} .0086208{col 42}{space 1}    4.29{col 51}{space 3}0.000{col 59}{space 4}  .020112{col 72}{space 3} .0539048
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0909186{col 31}{space 2} .0175699{col 42}{space 1}    5.17{col 51}{space 3}0.000{col 59}{space 4} .0564822{col 72}{space 3} .1253549
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0027183{col 31}{space 2} .0129202{col 42}{space 1}    0.21{col 51}{space 3}0.833{col 59}{space 4}-.0226048{col 72}{space 3} .0280414
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0048403{col 31}{space 2} .0086439{col 42}{space 1}    0.56{col 51}{space 3}0.575{col 59}{space 4}-.0121014{col 72}{space 3}  .021782
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}  .000662{col 31}{space 2} .0002278{col 42}{space 1}    2.91{col 51}{space 3}0.004{col 59}{space 4} .0002156{col 72}{space 3} .0011084
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0017561{col 31}{space 2} .0056179{col 42}{space 1}    0.31{col 51}{space 3}0.755{col 59}{space 4}-.0092548{col 72}{space 3}  .012767
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0008224{col 31}{space 2} .0003515{col 42}{space 1}    2.34{col 51}{space 3}0.019{col 59}{space 4} .0001335{col 72}{space 3} .0015113
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2}-.0000597{col 31}{space 2} .0016063{col 42}{space 1}   -0.04{col 51}{space 3}0.970{col 59}{space 4} -.003208{col 72}{space 3} .0030886
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2} .0073403{col 31}{space 2} .0188229{col 42}{space 1}    0.39{col 51}{space 3}0.697{col 59}{space 4} -.029552{col 72}{space 3} .0442326
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0107666{col 31}{space 2}  .037908{col 42}{space 1}    0.28{col 51}{space 3}0.776{col 59}{space 4}-.0635317{col 72}{space 3} .0850649
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0081472{col 31}{space 2} .0233509{col 42}{space 1}    0.35{col 51}{space 3}0.727{col 59}{space 4}-.0376198{col 72}{space 3} .0539142
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0089719{col 31}{space 2} .0244104{col 42}{space 1}    0.37{col 51}{space 3}0.713{col 59}{space 4}-.0388716{col 72}{space 3} .0568155
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0013192{col 31}{space 2} .0234597{col 42}{space 1}    0.06{col 51}{space 3}0.955{col 59}{space 4}-.0446611{col 72}{space 3} .0472994
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0476617{col 31}{space 2} .0260973{col 42}{space 1}   -1.83{col 51}{space 3}0.068{col 59}{space 4}-.0988115{col 72}{space 3} .0034881
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0085401{col 31}{space 2} .0254935{col 42}{space 1}    0.33{col 51}{space 3}0.738{col 59}{space 4}-.0414262{col 72}{space 3} .0585063
{txt}{space 14}13  {c |}{col 19}{res}{space 2}  .014152{col 31}{space 2} .0256174{col 42}{space 1}    0.55{col 51}{space 3}0.581{col 59}{space 4}-.0360573{col 72}{space 3} .0643613
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0039244{col 31}{space 2} .0198746{col 42}{space 1}   -0.20{col 51}{space 3}0.843{col 59}{space 4}-.0428779{col 72}{space 3} .0350291
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0005911{col 31}{space 2} .0242147{col 42}{space 1}    0.02{col 51}{space 3}0.981{col 59}{space 4}-.0468689{col 72}{space 3} .0480512
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0076225{col 31}{space 2} .0218346{col 42}{space 1}    0.35{col 51}{space 3}0.727{col 59}{space 4}-.0351726{col 72}{space 3} .0504175
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0317089{col 31}{space 2} .0239475{col 42}{space 1}   -1.32{col 51}{space 3}0.185{col 59}{space 4}-.0786452{col 72}{space 3} .0152274
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0366676{col 31}{space 2} .0273671{col 42}{space 1}   -1.34{col 51}{space 3}0.180{col 59}{space 4}-.0903062{col 72}{space 3}  .016971
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0113844{col 31}{space 2} .0281032{col 42}{space 1}   -0.41{col 51}{space 3}0.685{col 59}{space 4}-.0664656{col 72}{space 3} .0436968
{txt}{space 14}21  {c |}{col 19}{res}{space 2}-.0031525{col 31}{space 2} .0267111{col 42}{space 1}   -0.12{col 51}{space 3}0.906{col 59}{space 4}-.0555053{col 72}{space 3} .0492003
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0328589{col 31}{space 2} .0214954{col 42}{space 1}   -1.53{col 51}{space 3}0.126{col 59}{space 4}-.0749891{col 72}{space 3} .0092714
{txt}{space 14}23  {c |}{col 19}{res}{space 2}-.0055122{col 31}{space 2} .0271633{col 42}{space 1}   -0.20{col 51}{space 3}0.839{col 59}{space 4}-.0587512{col 72}{space 3} .0477268
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0219454{col 31}{space 2} .0229082{col 42}{space 1}   -0.96{col 51}{space 3}0.338{col 59}{space 4}-.0668446{col 72}{space 3} .0229538
{txt}{space 14}26  {c |}{col 19}{res}{space 2}  .007368{col 31}{space 2} .0251379{col 42}{space 1}    0.29{col 51}{space 3}0.769{col 59}{space 4}-.0419014{col 72}{space 3} .0566374
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0042746{col 31}{space 2} .0217272{col 42}{space 1}    0.20{col 51}{space 3}0.844{col 59}{space 4}-.0383099{col 72}{space 3} .0468591
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0271572{col 31}{space 2} .0304315{col 42}{space 1}    0.89{col 51}{space 3}0.372{col 59}{space 4}-.0324874{col 72}{space 3} .0868018
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0017539{col 31}{space 2} .0240823{col 42}{space 1}    0.07{col 51}{space 3}0.942{col 59}{space 4}-.0454466{col 72}{space 3} .0489544
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0195089{col 31}{space 2} .0313004{col 42}{space 1}    0.62{col 51}{space 3}0.533{col 59}{space 4}-.0418388{col 72}{space 3} .0808566
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0272234{col 31}{space 2} .0232338{col 42}{space 1}    1.17{col 51}{space 3}0.241{col 59}{space 4} -.018314{col 72}{space 3} .0727608
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0101383{col 31}{space 2} .0271416{col 42}{space 1}   -0.37{col 51}{space 3}0.709{col 59}{space 4}-.0633349{col 72}{space 3} .0430583
{txt}{space 14}34  {c |}{col 19}{res}{space 2} -.007295{col 31}{space 2} .0201449{col 42}{space 1}   -0.36{col 51}{space 3}0.717{col 59}{space 4}-.0467782{col 72}{space 3} .0321882
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0095873{col 31}{space 2} .0221698{col 42}{space 1}   -0.43{col 51}{space 3}0.665{col 59}{space 4}-.0530393{col 72}{space 3} .0338648
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0037125{col 31}{space 2} .0247809{col 42}{space 1}    0.15{col 51}{space 3}0.881{col 59}{space 4}-.0448573{col 72}{space 3} .0522823
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0288666{col 31}{space 2} .0186707{col 42}{space 1}   -1.55{col 51}{space 3}0.122{col 59}{space 4}-.0654604{col 72}{space 3} .0077272
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0283578{col 31}{space 2} .0276825{col 42}{space 1}   -1.02{col 51}{space 3}0.306{col 59}{space 4}-.0826146{col 72}{space 3}  .025899
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0048004{col 31}{space 2}  .022551{col 42}{space 1}    0.21{col 51}{space 3}0.831{col 59}{space 4}-.0393989{col 72}{space 3} .0489996
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0375331{col 31}{space 2} .0244432{col 42}{space 1}    1.54{col 51}{space 3}0.125{col 59}{space 4}-.0103747{col 72}{space 3} .0854409
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0081029{col 31}{space 2} .0278378{col 42}{space 1}    0.29{col 51}{space 3}0.771{col 59}{space 4}-.0464582{col 72}{space 3}  .062664
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0057341{col 31}{space 2} .0264342{col 42}{space 1}    0.22{col 51}{space 3}0.828{col 59}{space 4} -.046076{col 72}{space 3} .0575442
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0297534{col 31}{space 2} .0237128{col 42}{space 1}   -1.25{col 51}{space 3}0.210{col 59}{space 4}-.0762296{col 72}{space 3} .0167229
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0450225{col 31}{space 2} .0248956{col 42}{space 1}   -1.81{col 51}{space 3}0.071{col 59}{space 4}-.0938171{col 72}{space 3}  .003772
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0231483{col 31}{space 2} .0240521{col 42}{space 1}    0.96{col 51}{space 3}0.336{col 59}{space 4} -.023993{col 72}{space 3} .0702896
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0388358{col 31}{space 2}  .024317{col 42}{space 1}   -1.60{col 51}{space 3}0.110{col 59}{space 4}-.0864962{col 72}{space 3} .0088246
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using table3.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"table3.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "table3.txt""':seeout}

{com}. 
. margins(b4.i.misalignment_scale_factor), pwcompare(groups)
{res}
{txt}Pairwise comparisons of predictive margins
Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 3}{hline 10}
{col 27}{c |}{col 39} Delta-method{col 53}Unadjusted
{col 27}{c |}     Margin{col 39}   Std. Err.{col 53}    Groups
{hline 26}{c +}{hline 11}{hline 11}{hline 3}{hline 10}
misalignment_scale_factor {c |}
{space 23}1  {c |}{col 27}{res}{space 2}-.0579565{col 39}{space 2} .0193128{col 53}{txt}       A  
{space 23}2  {c |}{col 27}{res}{space 2}-.0196062{col 39}{space 2} .0073597{col 53}{txt}       AB 
{space 23}3  {c |}{col 27}{res}{space 2} -.014196{col 39}{space 2}  .012191{col 53}{txt}        BC
{space 23}4  {c |}{col 27}{res}{space 2}-.0002735{col 39}{space 2} .0038833{col 53}{txt}         C
{space 23}5  {c |}{col 27}{res}{space 2}  .000468{col 39}{space 2} .0112149{col 53}{txt}        BC
{space 23}6  {c |}{col 27}{res}{space 2} .0367349{col 39}{space 2} .0076817
{txt}{space 23}7  {c |}{col 27}{res}{space 2} .0906451{col 39}{space 2}  .017371
{txt}{hline 26}{c BT}{hline 11}{hline 11}{hline 3}{hline 10}
{p 0 6 0 62}Note: Margins sharing a letter in the group label are not significantly different at the 5% level. {p_end}
{res}{txt}
{com}. margins(b4.i.misalignment_scale_factor), post
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     1,672
{txt}Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31} Delta-method
{col 19}{c |}     Margin{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0579565{col 31}{space 2} .0193128{col 42}{space 1}   -3.00{col 51}{space 3}0.003{col 59}{space 4}-.0958088{col 72}{space 3}-.0201042
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0196062{col 31}{space 2} .0073597{col 42}{space 1}   -2.66{col 51}{space 3}0.008{col 59}{space 4} -.034031{col 72}{space 3}-.0051815
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.014196{col 31}{space 2}  .012191{col 42}{space 1}   -1.16{col 51}{space 3}0.244{col 59}{space 4}  -.03809{col 72}{space 3} .0096979
{txt}{space 15}4  {c |}{col 19}{res}{space 2}-.0002735{col 31}{space 2} .0038833{col 42}{space 1}   -0.07{col 51}{space 3}0.944{col 59}{space 4}-.0078846{col 72}{space 3} .0073376
{txt}{space 15}5  {c |}{col 19}{res}{space 2}  .000468{col 31}{space 2} .0112149{col 42}{space 1}    0.04{col 51}{space 3}0.967{col 59}{space 4}-.0215127{col 72}{space 3} .0224488
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0367349{col 31}{space 2} .0076817{col 42}{space 1}    4.78{col 51}{space 3}0.000{col 59}{space 4} .0216791{col 72}{space 3} .0517907
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0906451{col 31}{space 2}  .017371{col 42}{space 1}    5.22{col 51}{space 3}0.000{col 59}{space 4} .0565985{col 72}{space 3} .1246916
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store model2
{txt}
{com}. 
. * Early period (1976-1997)
. 
. * Model 3
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year < 1998 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,078
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.0644
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}32{txt}){col 67}= {res}    196.74
{txt}Estimated coefficients{col 28}= {res}       60{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0847621{col 31}{space 2} .0561155{col 42}{space 1}   -1.51{col 51}{space 3}0.131{col 59}{space 4}-.1947463{col 72}{space 3} .0252222
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2} -.047614{col 31}{space 2} .0247696{col 42}{space 1}   -1.92{col 51}{space 3}0.055{col 59}{space 4}-.0961615{col 72}{space 3} .0009336
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0085602{col 31}{space 2} .0117908{col 42}{space 1}    0.73{col 51}{space 3}0.468{col 59}{space 4}-.0145494{col 72}{space 3} .0316698
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0020401{col 31}{space 2} .0127345{col 42}{space 1}    0.16{col 51}{space 3}0.873{col 59}{space 4} -.022919{col 72}{space 3} .0269991
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0216935{col 31}{space 2} .0103246{col 42}{space 1}    2.10{col 51}{space 3}0.036{col 59}{space 4} .0014577{col 72}{space 3} .0419294
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0123903{col 31}{space 2} .0152184{col 42}{space 1}    0.81{col 51}{space 3}0.416{col 59}{space 4}-.0174372{col 72}{space 3} .0422178
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0005361{col 31}{space 2} .0154204{col 42}{space 1}   -0.03{col 51}{space 3}0.972{col 59}{space 4}-.0307596{col 72}{space 3} .0296874
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0002329{col 31}{space 2} .0002805{col 42}{space 1}    0.83{col 51}{space 3}0.406{col 59}{space 4}-.0003169{col 72}{space 3} .0007826
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0098731{col 31}{space 2} .0086565{col 42}{space 1}    1.14{col 51}{space 3}0.254{col 59}{space 4}-.0070933{col 72}{space 3} .0268396
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}  .001266{col 31}{space 2} .0004533{col 42}{space 1}    2.79{col 51}{space 3}0.005{col 59}{space 4} .0003776{col 72}{space 3} .0021545
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0011533{col 31}{space 2} .0015992{col 42}{space 1}    0.72{col 51}{space 3}0.471{col 59}{space 4}-.0019812{col 72}{space 3} .0042877
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2} .0044339{col 31}{space 2} .0457369{col 42}{space 1}    0.10{col 51}{space 3}0.923{col 59}{space 4}-.0852087{col 72}{space 3} .0940765
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0126167{col 31}{space 2} .0448065{col 42}{space 1}   -0.28{col 51}{space 3}0.778{col 59}{space 4}-.1004359{col 72}{space 3} .0752024
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0077699{col 31}{space 2} .0296437{col 42}{space 1}    0.26{col 51}{space 3}0.793{col 59}{space 4}-.0503307{col 72}{space 3} .0658705
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0197032{col 31}{space 2} .0533963{col 42}{space 1}   -0.37{col 51}{space 3}0.712{col 59}{space 4}-.1243581{col 72}{space 3} .0849517
{txt}{space 15}6  {c |}{col 19}{res}{space 2} -.019344{col 31}{space 2} .0367689{col 42}{space 1}   -0.53{col 51}{space 3}0.599{col 59}{space 4}-.0914097{col 72}{space 3} .0527217
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0149548{col 31}{space 2} .0376244{col 42}{space 1}    0.40{col 51}{space 3}0.691{col 59}{space 4}-.0587876{col 72}{space 3} .0886972
{txt}{space 15}8  {c |}{col 19}{res}{space 2} -.007912{col 31}{space 2} .0326263{col 42}{space 1}   -0.24{col 51}{space 3}0.808{col 59}{space 4}-.0718583{col 72}{space 3} .0560342
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0349883{col 31}{space 2}  .043882{col 42}{space 1}    0.80{col 51}{space 3}0.425{col 59}{space 4}-.0510188{col 72}{space 3} .1209955
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0066231{col 31}{space 2} .0380138{col 42}{space 1}   -0.17{col 51}{space 3}0.862{col 59}{space 4}-.0811288{col 72}{space 3} .0678825
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0572552{col 31}{space 2} .0434268{col 42}{space 1}   -1.32{col 51}{space 3}0.187{col 59}{space 4}-.1423701{col 72}{space 3} .0278598
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0325213{col 31}{space 2} .0403496{col 42}{space 1}    0.81{col 51}{space 3}0.420{col 59}{space 4}-.0465625{col 72}{space 3}  .111605
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0162225{col 31}{space 2} .0447377{col 42}{space 1}    0.36{col 51}{space 3}0.717{col 59}{space 4}-.0714618{col 72}{space 3} .1039067
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0210753{col 31}{space 2} .0272126{col 42}{space 1}   -0.77{col 51}{space 3}0.439{col 59}{space 4}-.0744111{col 72}{space 3} .0322606
{txt}{space 14}15  {c |}{col 19}{res}{space 2}  .009854{col 31}{space 2} .0389561{col 42}{space 1}    0.25{col 51}{space 3}0.800{col 59}{space 4}-.0664986{col 72}{space 3} .0862066
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0039233{col 31}{space 2} .0368212{col 42}{space 1}    0.11{col 51}{space 3}0.915{col 59}{space 4} -.068245{col 72}{space 3} .0760916
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0292333{col 31}{space 2} .0405497{col 42}{space 1}   -0.72{col 51}{space 3}0.471{col 59}{space 4}-.1087093{col 72}{space 3} .0502427
{txt}{space 14}18  {c |}{col 19}{res}{space 2} .0125879{col 31}{space 2} .0472735{col 42}{space 1}    0.27{col 51}{space 3}0.790{col 59}{space 4}-.0800665{col 72}{space 3} .1052423
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0842631{col 31}{space 2} .0422307{col 42}{space 1}   -2.00{col 51}{space 3}0.046{col 59}{space 4}-.1670337{col 72}{space 3}-.0014925
{txt}{space 14}20  {c |}{col 19}{res}{space 2} -.022125{col 31}{space 2} .0446195{col 42}{space 1}   -0.50{col 51}{space 3}0.620{col 59}{space 4}-.1095776{col 72}{space 3} .0653277
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0005082{col 31}{space 2} .0367996{col 42}{space 1}    0.01{col 51}{space 3}0.989{col 59}{space 4}-.0716176{col 72}{space 3}  .072634
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0597221{col 31}{space 2} .0352894{col 42}{space 1}   -1.69{col 51}{space 3}0.091{col 59}{space 4}-.1288881{col 72}{space 3}  .009444
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0194673{col 31}{space 2} .0489082{col 42}{space 1}    0.40{col 51}{space 3}0.691{col 59}{space 4}-.0763909{col 72}{space 3} .1153256
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0025436{col 31}{space 2} .0386024{col 42}{space 1}   -0.07{col 51}{space 3}0.947{col 59}{space 4}-.0782028{col 72}{space 3} .0731157
{txt}{space 14}25  {c |}{col 19}{res}{space 2} .0151366{col 31}{space 2} .0384687{col 42}{space 1}    0.39{col 51}{space 3}0.694{col 59}{space 4}-.0602608{col 72}{space 3} .0905339
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0238883{col 31}{space 2} .0412434{col 42}{space 1}    0.58{col 51}{space 3}0.562{col 59}{space 4}-.0569473{col 72}{space 3} .1047238
{txt}{space 14}27  {c |}{col 19}{res}{space 2}  .000328{col 31}{space 2} .0368678{col 42}{space 1}    0.01{col 51}{space 3}0.993{col 59}{space 4}-.0719316{col 72}{space 3} .0725876
{txt}{space 14}28  {c |}{col 19}{res}{space 2} -.005568{col 31}{space 2} .0375293{col 42}{space 1}   -0.15{col 51}{space 3}0.882{col 59}{space 4}-.0791241{col 72}{space 3} .0679881
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0361069{col 31}{space 2} .0455669{col 42}{space 1}    0.79{col 51}{space 3}0.428{col 59}{space 4}-.0532026{col 72}{space 3} .1254164
{txt}{space 14}30  {c |}{col 19}{res}{space 2}-.0084398{col 31}{space 2} .0396392{col 42}{space 1}   -0.21{col 51}{space 3}0.831{col 59}{space 4}-.0861312{col 72}{space 3} .0692516
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0252608{col 31}{space 2} .0401594{col 42}{space 1}    0.63{col 51}{space 3}0.529{col 59}{space 4}-.0534501{col 72}{space 3} .1039717
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0250379{col 31}{space 2} .0364839{col 42}{space 1}    0.69{col 51}{space 3}0.493{col 59}{space 4}-.0464692{col 72}{space 3}  .096545
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0557342{col 31}{space 2}   .03606{col 42}{space 1}   -1.55{col 51}{space 3}0.122{col 59}{space 4}-.1264104{col 72}{space 3} .0149421
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0280653{col 31}{space 2} .0354173{col 42}{space 1}   -0.79{col 51}{space 3}0.428{col 59}{space 4} -.097482{col 72}{space 3} .0413514
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0174119{col 31}{space 2}  .038273{col 42}{space 1}   -0.45{col 51}{space 3}0.649{col 59}{space 4}-.0924255{col 72}{space 3} .0576018
{txt}{space 14}36  {c |}{col 19}{res}{space 2}-.0024249{col 31}{space 2} .0366641{col 42}{space 1}   -0.07{col 51}{space 3}0.947{col 59}{space 4}-.0742852{col 72}{space 3} .0694353
{txt}{space 14}37  {c |}{col 19}{res}{space 2} -.045841{col 31}{space 2} .0287279{col 42}{space 1}   -1.60{col 51}{space 3}0.111{col 59}{space 4}-.1021467{col 72}{space 3} .0104647
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0179963{col 31}{space 2} .0462755{col 42}{space 1}   -0.39{col 51}{space 3}0.697{col 59}{space 4}-.1086946{col 72}{space 3}  .072702
{txt}{space 14}39  {c |}{col 19}{res}{space 2} -.005677{col 31}{space 2} .0343951{col 42}{space 1}   -0.17{col 51}{space 3}0.869{col 59}{space 4}-.0730902{col 72}{space 3} .0617363
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.0087163{col 31}{space 2} .0394019{col 42}{space 1}   -0.22{col 51}{space 3}0.825{col 59}{space 4}-.0859426{col 72}{space 3} .0685101
{txt}{space 14}41  {c |}{col 19}{res}{space 2} .0262556{col 31}{space 2} .0428649{col 42}{space 1}    0.61{col 51}{space 3}0.540{col 59}{space 4}-.0577582{col 72}{space 3} .1102693
{txt}{space 14}42  {c |}{col 19}{res}{space 2} .0207132{col 31}{space 2} .0401821{col 42}{space 1}    0.52{col 51}{space 3}0.606{col 59}{space 4}-.0580423{col 72}{space 3} .0994688
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0135913{col 31}{space 2} .0407915{col 42}{space 1}    0.33{col 51}{space 3}0.739{col 59}{space 4}-.0663585{col 72}{space 3} .0935411
{txt}{space 14}44  {c |}{col 19}{res}{space 2} .0382624{col 31}{space 2} .0515062{col 42}{space 1}    0.74{col 51}{space 3}0.458{col 59}{space 4} -.062688{col 72}{space 3} .1392127
{txt}{space 14}45  {c |}{col 19}{res}{space 2}  .031426{col 31}{space 2} .0412553{col 42}{space 1}    0.76{col 51}{space 3}0.446{col 59}{space 4}-.0494328{col 72}{space 3} .1122848
{txt}{space 14}46  {c |}{col 19}{res}{space 2}-.0068045{col 31}{space 2} .0396852{col 42}{space 1}   -0.17{col 51}{space 3}0.864{col 59}{space 4}-.0845861{col 72}{space 3} .0709771
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0052979{col 31}{space 2} .0378557{col 42}{space 1}   -0.14{col 51}{space 3}0.889{col 59}{space 4}-.0794937{col 72}{space 3}  .068898
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0196833{col 31}{space 2}  .044728{col 42}{space 1}   -0.44{col 51}{space 3}0.660{col 59}{space 4}-.1073486{col 72}{space 3} .0679821
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0269015{col 31}{space 2} .0410089{col 42}{space 1}    0.66{col 51}{space 3}0.512{col 59}{space 4}-.0534745{col 72}{space 3} .1072775
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0676974{col 31}{space 2} .0359574{col 42}{space 1}   -1.88{col 51}{space 3}0.060{col 59}{space 4}-.1381727{col 72}{space 3} .0027779
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using table3.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"table3.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "table3.txt""':seeout}

{com}. 
. margins(b4.i.misalignment_scale_factor), pwcompare(groups)
{res}
{txt}Pairwise comparisons of predictive margins
Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 3}{hline 10}
{col 27}{c |}{col 39} Delta-method{col 53}Unadjusted
{col 27}{c |}     Margin{col 39}   Std. Err.{col 53}    Groups
{hline 26}{c +}{hline 11}{hline 11}{hline 3}{hline 10}
misalignment_scale_factor {c |}
{space 23}1  {c |}{col 27}{res}{space 2}-.0564727{col 39}{space 2} .0245488{col 53}{txt}       A  
{space 23}2  {c |}{col 27}{res}{space 2}-.0002985{col 39}{space 2} .0116258{col 53}{txt}        BC
{space 23}4  {c |}{col 27}{res}{space 2}-.0088587{col 39}{space 2} .0050937{col 53}{txt}       AB 
{space 23}5  {c |}{col 27}{res}{space 2}-.0068186{col 39}{space 2} .0108411{col 53}{txt}       ABC
{space 23}6  {c |}{col 27}{res}{space 2} .0128349{col 39}{space 2} .0080811{col 53}{txt}         C
{hline 26}{c BT}{hline 11}{hline 11}{hline 3}{hline 10}
{p 0 6 0 62}Note: Margins sharing a letter in the group label are not significantly different at the 5% level. {p_end}
{res}{txt}
{com}. margins(b4.i.misalignment_scale_factor), post
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     1,078
{txt}Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31} Delta-method
{col 19}{c |}     Margin{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0564727{col 31}{space 2} .0245488{col 42}{space 1}   -2.30{col 51}{space 3}0.021{col 59}{space 4}-.1045875{col 72}{space 3}-.0083578
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0002985{col 31}{space 2} .0116258{col 42}{space 1}   -0.03{col 51}{space 3}0.980{col 59}{space 4}-.0230846{col 72}{space 3} .0224876
{txt}{space 15}4  {c |}{col 19}{res}{space 2}-.0088587{col 31}{space 2} .0050937{col 42}{space 1}   -1.74{col 51}{space 3}0.082{col 59}{space 4}-.0188421{col 72}{space 3} .0011247
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0068186{col 31}{space 2} .0108411{col 42}{space 1}   -0.63{col 51}{space 3}0.529{col 59}{space 4}-.0280669{col 72}{space 3} .0144296
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0128349{col 31}{space 2} .0080811{col 42}{space 1}    1.59{col 51}{space 3}0.112{col 59}{space 4}-.0030037{col 72}{space 3} .0286734
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store model3
{txt}
{com}. 
. * Model 4
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year < 1998 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       836
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.0723
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}32{txt}){col 67}= {res}    149.70
{txt}Estimated coefficients{col 28}= {res}       49{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0758848{col 31}{space 2} .0585264{col 42}{space 1}   -1.30{col 51}{space 3}0.195{col 59}{space 4}-.1905945{col 72}{space 3} .0388248
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0503181{col 31}{space 2} .0250641{col 42}{space 1}   -2.01{col 51}{space 3}0.045{col 59}{space 4}-.0994429{col 72}{space 3}-.0011934
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0066789{col 31}{space 2} .0116416{col 42}{space 1}    0.57{col 51}{space 3}0.566{col 59}{space 4}-.0161382{col 72}{space 3} .0294961
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0158332{col 31}{space 2} .0151705{col 42}{space 1}   -1.04{col 51}{space 3}0.297{col 59}{space 4}-.0455668{col 72}{space 3} .0139004
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0013935{col 31}{space 2} .0125018{col 42}{space 1}    0.11{col 51}{space 3}0.911{col 59}{space 4}-.0231095{col 72}{space 3} .0258966
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0242014{col 31}{space 2} .0182853{col 42}{space 1}    1.32{col 51}{space 3}0.186{col 59}{space 4}-.0116372{col 72}{space 3}   .06004
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}   .00003{col 31}{space 2} .0154555{col 42}{space 1}    0.00{col 51}{space 3}0.998{col 59}{space 4}-.0302621{col 72}{space 3} .0303222
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0003908{col 31}{space 2} .0003343{col 42}{space 1}    1.17{col 51}{space 3}0.242{col 59}{space 4}-.0002645{col 72}{space 3} .0010461
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0022211{col 31}{space 2} .0091276{col 42}{space 1}    0.24{col 51}{space 3}0.808{col 59}{space 4}-.0156686{col 72}{space 3} .0201108
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0012429{col 31}{space 2} .0004973{col 42}{space 1}    2.50{col 51}{space 3}0.012{col 59}{space 4} .0002682{col 72}{space 3} .0022175
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2}-.0007143{col 31}{space 2} .0016077{col 42}{space 1}   -0.44{col 51}{space 3}0.657{col 59}{space 4}-.0038654{col 72}{space 3} .0024368
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2}-.0004438{col 31}{space 2} .0294866{col 42}{space 1}   -0.02{col 51}{space 3}0.988{col 59}{space 4}-.0582365{col 72}{space 3} .0573489
{txt}{space 15}5  {c |}{col 19}{res}{space 2}   .01325{col 31}{space 2}   .05499{col 42}{space 1}    0.24{col 51}{space 3}0.810{col 59}{space 4}-.0945284{col 72}{space 3} .1210284
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.0292364{col 31}{space 2} .0372175{col 42}{space 1}   -0.79{col 51}{space 3}0.432{col 59}{space 4}-.1021814{col 72}{space 3} .0437086
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0109416{col 31}{space 2} .0386879{col 42}{space 1}    0.28{col 51}{space 3}0.777{col 59}{space 4}-.0648853{col 72}{space 3} .0867686
{txt}{space 15}8  {c |}{col 19}{res}{space 2}-.0263094{col 31}{space 2} .0330959{col 42}{space 1}   -0.79{col 51}{space 3}0.427{col 59}{space 4}-.0911762{col 72}{space 3} .0385574
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0633722{col 31}{space 2} .0450861{col 42}{space 1}   -1.41{col 51}{space 3}0.160{col 59}{space 4}-.1517393{col 72}{space 3} .0249948
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0163607{col 31}{space 2} .0410009{col 42}{space 1}    0.40{col 51}{space 3}0.690{col 59}{space 4}-.0639996{col 72}{space 3} .0967211
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0021288{col 31}{space 2} .0451502{col 42}{space 1}   -0.05{col 51}{space 3}0.962{col 59}{space 4}-.0906215{col 72}{space 3}  .086364
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0257331{col 31}{space 2}   .02716{col 42}{space 1}   -0.95{col 51}{space 3}0.343{col 59}{space 4}-.0789657{col 72}{space 3} .0274996
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0092592{col 31}{space 2} .0394298{col 42}{space 1}   -0.23{col 51}{space 3}0.814{col 59}{space 4}-.0865402{col 72}{space 3} .0680219
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0146605{col 31}{space 2} .0369548{col 42}{space 1}   -0.40{col 51}{space 3}0.692{col 59}{space 4}-.0870905{col 72}{space 3} .0577696
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0455557{col 31}{space 2} .0416347{col 42}{space 1}   -1.09{col 51}{space 3}0.274{col 59}{space 4}-.1271581{col 72}{space 3} .0360468
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0798155{col 31}{space 2} .0442562{col 42}{space 1}   -1.80{col 51}{space 3}0.071{col 59}{space 4}-.1665562{col 72}{space 3} .0069251
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0295251{col 31}{space 2} .0461481{col 42}{space 1}   -0.64{col 51}{space 3}0.522{col 59}{space 4}-.1199737{col 72}{space 3} .0609235
{txt}{space 14}21  {c |}{col 19}{res}{space 2}-.0168398{col 31}{space 2} .0376306{col 42}{space 1}   -0.45{col 51}{space 3}0.655{col 59}{space 4}-.0905944{col 72}{space 3} .0569148
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0470143{col 31}{space 2} .0357786{col 42}{space 1}   -1.31{col 51}{space 3}0.189{col 59}{space 4} -.117139{col 72}{space 3} .0231104
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0094423{col 31}{space 2} .0499528{col 42}{space 1}    0.19{col 51}{space 3}0.850{col 59}{space 4}-.0884635{col 72}{space 3} .1073481
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0101126{col 31}{space 2}  .038525{col 42}{space 1}   -0.26{col 51}{space 3}0.793{col 59}{space 4}-.0856201{col 72}{space 3} .0653949
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0017694{col 31}{space 2} .0420448{col 42}{space 1}    0.04{col 51}{space 3}0.966{col 59}{space 4}-.0806368{col 72}{space 3} .0841757
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0284599{col 31}{space 2}  .038778{col 42}{space 1}   -0.73{col 51}{space 3}0.463{col 59}{space 4}-.1044633{col 72}{space 3} .0475436
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0116272{col 31}{space 2} .0464235{col 42}{space 1}    0.25{col 51}{space 3}0.802{col 59}{space 4}-.0793612{col 72}{space 3} .1026157
{txt}{space 14}30  {c |}{col 19}{res}{space 2}-.0108646{col 31}{space 2} .0405762{col 42}{space 1}   -0.27{col 51}{space 3}0.789{col 59}{space 4}-.0903925{col 72}{space 3} .0686633
{txt}{space 14}31  {c |}{col 19}{res}{space 2}  .009808{col 31}{space 2} .0406155{col 42}{space 1}    0.24{col 51}{space 3}0.809{col 59}{space 4}-.0697969{col 72}{space 3} .0894129
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0110358{col 31}{space 2} .0366433{col 42}{space 1}    0.30{col 51}{space 3}0.763{col 59}{space 4}-.0607837{col 72}{space 3} .0828554
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0451352{col 31}{space 2} .0365114{col 42}{space 1}   -1.24{col 51}{space 3}0.216{col 59}{space 4}-.1166962{col 72}{space 3} .0264259
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0313367{col 31}{space 2} .0357268{col 42}{space 1}   -0.88{col 51}{space 3}0.380{col 59}{space 4}-.1013599{col 72}{space 3} .0386866
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0233265{col 31}{space 2} .0388783{col 42}{space 1}   -0.60{col 51}{space 3}0.549{col 59}{space 4}-.0995266{col 72}{space 3} .0528736
{txt}{space 14}36  {c |}{col 19}{res}{space 2}-.0140027{col 31}{space 2} .0378103{col 42}{space 1}   -0.37{col 51}{space 3}0.711{col 59}{space 4}-.0881096{col 72}{space 3} .0601043
{txt}{space 14}37  {c |}{col 19}{res}{space 2} -.045646{col 31}{space 2} .0291133{col 42}{space 1}   -1.57{col 51}{space 3}0.117{col 59}{space 4}-.1027069{col 72}{space 3} .0114149
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0419729{col 31}{space 2} .0473783{col 42}{space 1}   -0.89{col 51}{space 3}0.376{col 59}{space 4}-.1348327{col 72}{space 3} .0508868
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.0312079{col 31}{space 2} .0401361{col 42}{space 1}   -0.78{col 51}{space 3}0.437{col 59}{space 4}-.1098732{col 72}{space 3} .0474573
{txt}{space 14}43  {c |}{col 19}{res}{space 2} -.005162{col 31}{space 2} .0418522{col 42}{space 1}   -0.12{col 51}{space 3}0.902{col 59}{space 4}-.0871908{col 72}{space 3} .0768669
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0149117{col 31}{space 2} .0424901{col 42}{space 1}    0.35{col 51}{space 3}0.726{col 59}{space 4}-.0683674{col 72}{space 3} .0981908
{txt}{space 14}46  {c |}{col 19}{res}{space 2}-.0135377{col 31}{space 2} .0403343{col 42}{space 1}   -0.34{col 51}{space 3}0.737{col 59}{space 4}-.0925914{col 72}{space 3}  .065516
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0033907{col 31}{space 2} .0378677{col 42}{space 1}   -0.09{col 51}{space 3}0.929{col 59}{space 4}-.0776101{col 72}{space 3} .0708288
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0413173{col 31}{space 2} .0457373{col 42}{space 1}   -0.90{col 51}{space 3}0.366{col 59}{space 4}-.1309609{col 72}{space 3} .0483262
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0036822{col 31}{space 2} .0417681{col 42}{space 1}    0.09{col 51}{space 3}0.930{col 59}{space 4}-.0781819{col 72}{space 3} .0855462
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0517596{col 31}{space 2}   .03691{col 42}{space 1}   -1.40{col 51}{space 3}0.161{col 59}{space 4}-.1241018{col 72}{space 3} .0205826
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using table3.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"table3.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "table3.txt""':seeout}

{com}. 
. margins(b4.i.misalignment_scale_factor), pwcompare(groups)
{res}
{txt}Pairwise comparisons of predictive margins
Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 3}{hline 10}
{col 27}{c |}{col 39} Delta-method{col 53}Unadjusted
{col 27}{c |}     Margin{col 39}   Std. Err.{col 53}    Groups
{hline 26}{c +}{hline 11}{hline 11}{hline 3}{hline 10}
misalignment_scale_factor {c |}
{space 23}1  {c |}{col 27}{res}{space 2}-.0531776{col 39}{space 2} .0248473{col 53}{txt}        A 
{space 23}2  {c |}{col 27}{res}{space 2} .0038194{col 39}{space 2} .0114382{col 53}{txt}         B
{space 23}4  {c |}{col 27}{res}{space 2}-.0028595{col 39}{space 2}  .005448{col 53}{txt}         B
{space 23}5  {c |}{col 27}{res}{space 2}-.0186927{col 39}{space 2} .0136389{col 53}{txt}        AB
{space 23}6  {c |}{col 27}{res}{space 2}-.0014659{col 39}{space 2} .0105975{col 53}{txt}        AB
{hline 26}{c BT}{hline 11}{hline 11}{hline 3}{hline 10}
{p 0 6 0 62}Note: Margins sharing a letter in the group label are not significantly different at the 5% level. {p_end}
{res}{txt}
{com}. margins(b4.i.misalignment_scale_factor), post
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}       836
{txt}Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31} Delta-method
{col 19}{c |}     Margin{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0531776{col 31}{space 2} .0248473{col 42}{space 1}   -2.14{col 51}{space 3}0.032{col 59}{space 4}-.1018774{col 72}{space 3}-.0044779
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0038194{col 31}{space 2} .0114382{col 42}{space 1}    0.33{col 51}{space 3}0.738{col 59}{space 4} -.018599{col 72}{space 3} .0262378
{txt}{space 15}4  {c |}{col 19}{res}{space 2}-.0028595{col 31}{space 2}  .005448{col 42}{space 1}   -0.52{col 51}{space 3}0.600{col 59}{space 4}-.0135374{col 72}{space 3} .0078184
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0186927{col 31}{space 2} .0136389{col 42}{space 1}   -1.37{col 51}{space 3}0.171{col 59}{space 4}-.0454245{col 72}{space 3} .0080391
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.0014659{col 31}{space 2} .0105975{col 42}{space 1}   -0.14{col 51}{space 3}0.890{col 59}{space 4}-.0222367{col 72}{space 3} .0193048
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store model4
{txt}
{com}. 
. * Contemporary period (1998-2019)
. 
. * Model 5
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year > 1997 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,078
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.2186
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}34{txt}){col 67}= {res}    242.86
{txt}Estimated coefficients{col 28}= {res}       62{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0856065{col 31}{space 2} .0556752{col 42}{space 1}   -1.54{col 51}{space 3}0.124{col 59}{space 4} -.194728{col 72}{space 3} .0235149
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0756611{col 31}{space 2} .0157506{col 42}{space 1}   -4.80{col 51}{space 3}0.000{col 59}{space 4}-.1065316{col 72}{space 3}-.0447905
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0496484{col 31}{space 2} .0085996{col 42}{space 1}   -5.77{col 51}{space 3}0.000{col 59}{space 4}-.0665033{col 72}{space 3}-.0327936
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0383341{col 31}{space 2} .0108556{col 42}{space 1}   -3.53{col 51}{space 3}0.000{col 59}{space 4}-.0596106{col 72}{space 3}-.0170576
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0184092{col 31}{space 2} .0214838{col 42}{space 1}    0.86{col 51}{space 3}0.392{col 59}{space 4}-.0236983{col 72}{space 3} .0605166
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0612429{col 31}{space 2}  .010539{col 42}{space 1}    5.81{col 51}{space 3}0.000{col 59}{space 4} .0405868{col 72}{space 3}  .081899
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0773595{col 31}{space 2} .0169023{col 42}{space 1}    4.58{col 51}{space 3}0.000{col 59}{space 4} .0442316{col 72}{space 3} .1104873
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0014204{col 31}{space 2} .0197733{col 42}{space 1}   -0.07{col 51}{space 3}0.943{col 59}{space 4}-.0401753{col 72}{space 3} .0373345
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0115505{col 31}{space 2} .0091586{col 42}{space 1}   -1.26{col 51}{space 3}0.207{col 59}{space 4} -.029501{col 72}{space 3} .0063999
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}-.0004058{col 31}{space 2} .0004167{col 42}{space 1}   -0.97{col 51}{space 3}0.330{col 59}{space 4}-.0012224{col 72}{space 3} .0004109
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0223526{col 31}{space 2} .0107352{col 42}{space 1}   -2.08{col 51}{space 3}0.037{col 59}{space 4}-.0433931{col 72}{space 3}-.0013121
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}-.0000279{col 31}{space 2}  .000474{col 42}{space 1}   -0.06{col 51}{space 3}0.953{col 59}{space 4}-.0009569{col 72}{space 3} .0009012
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0021112{col 31}{space 2} .0031946{col 42}{space 1}    0.66{col 51}{space 3}0.509{col 59}{space 4}-.0041501{col 72}{space 3} .0083725
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0636119{col 31}{space 2} .0360098{col 42}{space 1}   -1.77{col 51}{space 3}0.077{col 59}{space 4}-.1341899{col 72}{space 3}  .006966
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0344696{col 31}{space 2} .0301114{col 42}{space 1}   -1.14{col 51}{space 3}0.252{col 59}{space 4} -.093487{col 72}{space 3} .0245477
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0198683{col 31}{space 2} .0248422{col 42}{space 1}    0.80{col 51}{space 3}0.424{col 59}{space 4}-.0288215{col 72}{space 3} .0685581
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .2000941{col 31}{space 2} .0738266{col 42}{space 1}    2.71{col 51}{space 3}0.007{col 59}{space 4} .0553967{col 72}{space 3} .3447916
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0441722{col 31}{space 2} .0246697{col 42}{space 1}    1.79{col 51}{space 3}0.073{col 59}{space 4}-.0041796{col 72}{space 3}  .092524
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0509837{col 31}{space 2} .0325556{col 42}{space 1}    1.57{col 51}{space 3}0.117{col 59}{space 4}-.0128241{col 72}{space 3} .1147916
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0420713{col 31}{space 2}  .033975{col 42}{space 1}    1.24{col 51}{space 3}0.216{col 59}{space 4}-.0245184{col 72}{space 3}  .108661
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0319378{col 31}{space 2} .0250156{col 42}{space 1}    1.28{col 51}{space 3}0.202{col 59}{space 4} -.017092{col 72}{space 3} .0809675
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0414066{col 31}{space 2} .0295667{col 42}{space 1}   -1.40{col 51}{space 3}0.161{col 59}{space 4}-.0993562{col 72}{space 3}  .016543
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0220122{col 31}{space 2} .0324442{col 42}{space 1}    0.68{col 51}{space 3}0.497{col 59}{space 4}-.0415772{col 72}{space 3} .0856017
{txt}{space 14}12  {c |}{col 19}{res}{space 2}-.0070282{col 31}{space 2} .0320546{col 42}{space 1}   -0.22{col 51}{space 3}0.826{col 59}{space 4} -.069854{col 72}{space 3} .0557976
{txt}{space 14}13  {c |}{col 19}{res}{space 2}  -.00539{col 31}{space 2} .0299838{col 42}{space 1}   -0.18{col 51}{space 3}0.857{col 59}{space 4}-.0641572{col 72}{space 3} .0533771
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0616403{col 31}{space 2} .0296834{col 42}{space 1}    2.08{col 51}{space 3}0.038{col 59}{space 4} .0034618{col 72}{space 3} .1198187
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0097458{col 31}{space 2} .0309466{col 42}{space 1}   -0.31{col 51}{space 3}0.753{col 59}{space 4}   -.0704{col 72}{space 3} .0509083
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0155859{col 31}{space 2}  .029537{col 42}{space 1}   -0.53{col 51}{space 3}0.598{col 59}{space 4}-.0734775{col 72}{space 3} .0423056
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0568099{col 31}{space 2} .0319907{col 42}{space 1}   -1.78{col 51}{space 3}0.076{col 59}{space 4}-.1195105{col 72}{space 3} .0058906
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.0303159{col 31}{space 2} .0248085{col 42}{space 1}   -1.22{col 51}{space 3}0.222{col 59}{space 4}-.0789397{col 72}{space 3} .0183078
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0860795{col 31}{space 2} .0375747{col 42}{space 1}    2.29{col 51}{space 3}0.022{col 59}{space 4} .0124344{col 72}{space 3} .1597247
{txt}{space 14}20  {c |}{col 19}{res}{space 2}  .042839{col 31}{space 2} .0345991{col 42}{space 1}    1.24{col 51}{space 3}0.216{col 59}{space 4}-.0249739{col 72}{space 3} .1106519
{txt}{space 14}21  {c |}{col 19}{res}{space 2}  .017928{col 31}{space 2} .0417905{col 42}{space 1}    0.43{col 51}{space 3}0.668{col 59}{space 4}-.0639798{col 72}{space 3} .0998359
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0524813{col 31}{space 2} .0286691{col 42}{space 1}    1.83{col 51}{space 3}0.067{col 59}{space 4}-.0037091{col 72}{space 3} .1086717
{txt}{space 14}23  {c |}{col 19}{res}{space 2}-.0058289{col 31}{space 2} .0268036{col 42}{space 1}   -0.22{col 51}{space 3}0.828{col 59}{space 4}-.0583631{col 72}{space 3} .0467053
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0267427{col 31}{space 2} .0261471{col 42}{space 1}   -1.02{col 51}{space 3}0.306{col 59}{space 4}-.0779901{col 72}{space 3} .0245046
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.0602092{col 31}{space 2} .0277034{col 42}{space 1}   -2.17{col 51}{space 3}0.030{col 59}{space 4}-.1145067{col 72}{space 3}-.0059116
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0334552{col 31}{space 2} .0345057{col 42}{space 1}   -0.97{col 51}{space 3}0.332{col 59}{space 4}-.1010852{col 72}{space 3} .0341748
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.0454042{col 31}{space 2} .0250286{col 42}{space 1}   -1.81{col 51}{space 3}0.070{col 59}{space 4}-.0944595{col 72}{space 3}  .003651
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0051284{col 31}{space 2} .0299367{col 42}{space 1}   -0.17{col 51}{space 3}0.864{col 59}{space 4}-.0638032{col 72}{space 3} .0535464
{txt}{space 14}29  {c |}{col 19}{res}{space 2}-.0085698{col 31}{space 2} .0475966{col 42}{space 1}   -0.18{col 51}{space 3}0.857{col 59}{space 4}-.1018574{col 72}{space 3} .0847179
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0560107{col 31}{space 2} .0283761{col 42}{space 1}    1.97{col 51}{space 3}0.048{col 59}{space 4} .0003945{col 72}{space 3} .1116269
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0217559{col 31}{space 2} .0514072{col 42}{space 1}    0.42{col 51}{space 3}0.672{col 59}{space 4}-.0790003{col 72}{space 3} .1225122
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0435721{col 31}{space 2} .0316066{col 42}{space 1}    1.38{col 51}{space 3}0.168{col 59}{space 4}-.0183758{col 72}{space 3} .1055199
{txt}{space 14}33  {c |}{col 19}{res}{space 2}  .169412{col 31}{space 2} .0529666{col 42}{space 1}    3.20{col 51}{space 3}0.001{col 59}{space 4} .0655993{col 72}{space 3} .2732248
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0780398{col 31}{space 2} .0230341{col 42}{space 1}    3.39{col 51}{space 3}0.001{col 59}{space 4} .0328937{col 72}{space 3} .1231859
{txt}{space 14}35  {c |}{col 19}{res}{space 2} -.025067{col 31}{space 2} .0227424{col 42}{space 1}   -1.10{col 51}{space 3}0.270{col 59}{space 4}-.0696413{col 72}{space 3} .0195074
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0311751{col 31}{space 2}  .033275{col 42}{space 1}    0.94{col 51}{space 3}0.349{col 59}{space 4}-.0340428{col 72}{space 3} .0963929
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0672651{col 31}{space 2} .0296253{col 42}{space 1}    2.27{col 51}{space 3}0.023{col 59}{space 4} .0092006{col 72}{space 3} .1253296
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0208929{col 31}{space 2} .0342433{col 42}{space 1}    0.61{col 51}{space 3}0.542{col 59}{space 4}-.0462226{col 72}{space 3} .0880085
{txt}{space 14}39  {c |}{col 19}{res}{space 2} -.004987{col 31}{space 2} .0257255{col 42}{space 1}   -0.19{col 51}{space 3}0.846{col 59}{space 4} -.055408{col 72}{space 3}  .045434
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.0015194{col 31}{space 2} .0303311{col 42}{space 1}   -0.05{col 51}{space 3}0.960{col 59}{space 4}-.0609673{col 72}{space 3} .0579285
{txt}{space 14}41  {c |}{col 19}{res}{space 2}-.0434865{col 31}{space 2} .0395991{col 42}{space 1}   -1.10{col 51}{space 3}0.272{col 59}{space 4}-.1210993{col 72}{space 3} .0341264
{txt}{space 14}42  {c |}{col 19}{res}{space 2} .0046139{col 31}{space 2} .0172269{col 42}{space 1}    0.27{col 51}{space 3}0.789{col 59}{space 4}-.0291501{col 72}{space 3} .0383779
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0172762{col 31}{space 2} .0326323{col 42}{space 1}    0.53{col 51}{space 3}0.597{col 59}{space 4}-.0466818{col 72}{space 3} .0812343
{txt}{space 14}44  {c |}{col 19}{res}{space 2}-.0263362{col 31}{space 2} .0289202{col 42}{space 1}   -0.91{col 51}{space 3}0.362{col 59}{space 4}-.0830188{col 72}{space 3} .0303464
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0208933{col 31}{space 2} .0403371{col 42}{space 1}    0.52{col 51}{space 3}0.604{col 59}{space 4}-.0581658{col 72}{space 3} .0999525
{txt}{space 14}46  {c |}{col 19}{res}{space 2}  .050146{col 31}{space 2} .0372029{col 42}{space 1}    1.35{col 51}{space 3}0.178{col 59}{space 4}-.0227704{col 72}{space 3} .1230624
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0035982{col 31}{space 2} .0306444{col 42}{space 1}   -0.12{col 51}{space 3}0.907{col 59}{space 4}-.0636601{col 72}{space 3} .0564636
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0808504{col 31}{space 2} .0293015{col 42}{space 1}   -2.76{col 51}{space 3}0.006{col 59}{space 4}-.1382802{col 72}{space 3}-.0234207
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0313882{col 31}{space 2} .0338682{col 42}{space 1}   -0.93{col 51}{space 3}0.354{col 59}{space 4}-.0977685{col 72}{space 3} .0349922
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0012533{col 31}{space 2} .0319479{col 42}{space 1}   -0.04{col 51}{space 3}0.969{col 59}{space 4}-.0638701{col 72}{space 3} .0613636
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using table3.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"table3.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "table3.txt""':seeout}

{com}. 
. margins(b4.i.misalignment_scale_factor), pwcompare(groups)
{res}
{txt}Pairwise comparisons of predictive margins
Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 3}{hline 10}
{col 27}{c |}{col 39} Delta-method{col 53}Unadjusted
{col 27}{c |}     Margin{col 39}   Std. Err.{col 53}    Groups
{hline 26}{c +}{hline 11}{hline 11}{hline 3}{hline 10}
misalignment_scale_factor {c |}
{space 23}1  {c |}{col 27}{res}{space 2}-.0702037{col 39}{space 2} .0152899{col 53}{txt}     A    
{space 23}2  {c |}{col 27}{res}{space 2} -.044191{col 39}{space 2}  .007467{col 53}{txt}     AB   
{space 23}3  {c |}{col 27}{res}{space 2}-.0328767{col 39}{space 2} .0100101{col 53}{txt}      B   
{space 23}4  {c |}{col 27}{res}{space 2} .0054574{col 39}{space 2} .0048812{col 53}{txt}       C  
{space 23}5  {c |}{col 27}{res}{space 2} .0238666{col 39}{space 2} .0213718{col 53}{txt}       CD 
{space 23}6  {c |}{col 27}{res}{space 2} .0667003{col 39}{space 2} .0099097{col 53}{txt}        DE
{space 23}7  {c |}{col 27}{res}{space 2} .0828169{col 39}{space 2} .0168863{col 53}{txt}         E
{hline 26}{c BT}{hline 11}{hline 11}{hline 3}{hline 10}
{p 0 6 0 62}Note: Margins sharing a letter in the group label are not significantly different at the 5% level. {p_end}
{res}{txt}
{com}. margins(b4.i.misalignment_scale_factor), post
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}     1,078
{txt}Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31} Delta-method
{col 19}{c |}     Margin{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0702037{col 31}{space 2} .0152899{col 42}{space 1}   -4.59{col 51}{space 3}0.000{col 59}{space 4}-.1001713{col 72}{space 3} -.040236
{txt}{space 15}2  {c |}{col 19}{res}{space 2} -.044191{col 31}{space 2}  .007467{col 42}{space 1}   -5.92{col 51}{space 3}0.000{col 59}{space 4} -.058826{col 72}{space 3}-.0295561
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0328767{col 31}{space 2} .0100101{col 42}{space 1}   -3.28{col 51}{space 3}0.001{col 59}{space 4}-.0524962{col 72}{space 3}-.0132572
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0054574{col 31}{space 2} .0048812{col 42}{space 1}    1.12{col 51}{space 3}0.264{col 59}{space 4}-.0041096{col 72}{space 3} .0150245
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0238666{col 31}{space 2} .0213718{col 42}{space 1}    1.12{col 51}{space 3}0.264{col 59}{space 4}-.0180213{col 72}{space 3} .0657545
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0667003{col 31}{space 2} .0099097{col 42}{space 1}    6.73{col 51}{space 3}0.000{col 59}{space 4} .0472776{col 72}{space 3}  .086123
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0828169{col 31}{space 2} .0168863{col 42}{space 1}    4.90{col 51}{space 3}0.000{col 59}{space 4} .0497204{col 72}{space 3} .1159134
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store model5
{txt}
{com}. 
. * Model 6
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year > 1997 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       836
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.2187
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}34{txt}){col 67}= {res}    254.33
{txt}Estimated coefficients{col 28}= {res}       51{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0904225{col 31}{space 2} .0574626{col 42}{space 1}   -1.57{col 51}{space 3}0.116{col 59}{space 4}-.2030472{col 72}{space 3} .0222022
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0924142{col 31}{space 2} .0210297{col 42}{space 1}   -4.39{col 51}{space 3}0.000{col 59}{space 4}-.1336316{col 72}{space 3}-.0511967
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0551844{col 31}{space 2} .0106539{col 42}{space 1}   -5.18{col 51}{space 3}0.000{col 59}{space 4}-.0760658{col 72}{space 3}-.0343031
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.041975{col 31}{space 2} .0128124{col 42}{space 1}   -3.28{col 51}{space 3}0.001{col 59}{space 4}-.0670868{col 72}{space 3}-.0168631
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0235502{col 31}{space 2} .0224938{col 42}{space 1}    1.05{col 51}{space 3}0.295{col 59}{space 4}-.0205368{col 72}{space 3} .0676372
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0728516{col 31}{space 2} .0122588{col 42}{space 1}    5.94{col 51}{space 3}0.000{col 59}{space 4} .0488249{col 72}{space 3} .0968783
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0947796{col 31}{space 2} .0199235{col 42}{space 1}    4.76{col 51}{space 3}0.000{col 59}{space 4} .0557302{col 72}{space 3}  .133829
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0092628{col 31}{space 2} .0257045{col 42}{space 1}    0.36{col 51}{space 3}0.719{col 59}{space 4}-.0411171{col 72}{space 3} .0596427
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0127047{col 31}{space 2} .0098318{col 42}{space 1}   -1.29{col 51}{space 3}0.196{col 59}{space 4}-.0319747{col 72}{space 3} .0065653
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}-.0003896{col 31}{space 2} .0004745{col 42}{space 1}   -0.82{col 51}{space 3}0.412{col 59}{space 4}-.0013196{col 72}{space 3} .0005403
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0203407{col 31}{space 2} .0120966{col 42}{space 1}   -1.68{col 51}{space 3}0.093{col 59}{space 4}-.0440497{col 72}{space 3} .0033682
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}-.0002902{col 31}{space 2} .0005064{col 42}{space 1}   -0.57{col 51}{space 3}0.567{col 59}{space 4}-.0012828{col 72}{space 3} .0007023
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0027417{col 31}{space 2} .0036091{col 42}{space 1}    0.76{col 51}{space 3}0.447{col 59}{space 4}-.0043321{col 72}{space 3} .0098155
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2} .0228297{col 31}{space 2} .0253289{col 42}{space 1}    0.90{col 51}{space 3}0.367{col 59}{space 4} -.026814{col 72}{space 3} .0724733
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .1791071{col 31}{space 2} .0813612{col 42}{space 1}    2.20{col 51}{space 3}0.028{col 59}{space 4} .0196421{col 72}{space 3}  .338572
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0417488{col 31}{space 2} .0253527{col 42}{space 1}    1.65{col 51}{space 3}0.100{col 59}{space 4}-.0079417{col 72}{space 3} .0914392
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0554246{col 31}{space 2} .0354288{col 42}{space 1}    1.56{col 51}{space 3}0.118{col 59}{space 4}-.0140146{col 72}{space 3} .1248637
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0403344{col 31}{space 2} .0362427{col 42}{space 1}    1.11{col 51}{space 3}0.266{col 59}{space 4}-.0306999{col 72}{space 3} .1113688
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0110085{col 31}{space 2} .0372849{col 42}{space 1}    0.30{col 51}{space 3}0.768{col 59}{space 4}-.0620686{col 72}{space 3} .0840855
{txt}{space 14}12  {c |}{col 19}{res}{space 2}-.0074155{col 31}{space 2} .0327601{col 42}{space 1}   -0.23{col 51}{space 3}0.821{col 59}{space 4}-.0716242{col 72}{space 3} .0567931
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0023563{col 31}{space 2} .0309954{col 42}{space 1}   -0.08{col 51}{space 3}0.939{col 59}{space 4}-.0631061{col 72}{space 3} .0583936
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0527083{col 31}{space 2} .0314889{col 42}{space 1}    1.67{col 51}{space 3}0.094{col 59}{space 4}-.0090088{col 72}{space 3} .1144253
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0066221{col 31}{space 2} .0319791{col 42}{space 1}   -0.21{col 51}{space 3}0.836{col 59}{space 4}-.0692999{col 72}{space 3} .0560558
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0132842{col 31}{space 2} .0312365{col 42}{space 1}   -0.43{col 51}{space 3}0.671{col 59}{space 4}-.0745066{col 72}{space 3} .0479383
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0590502{col 31}{space 2} .0332328{col 42}{space 1}   -1.78{col 51}{space 3}0.076{col 59}{space 4}-.1241853{col 72}{space 3}  .006085
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0768185{col 31}{space 2} .0425342{col 42}{space 1}    1.81{col 51}{space 3}0.071{col 59}{space 4} -.006547{col 72}{space 3}  .160184
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0297821{col 31}{space 2} .0388129{col 42}{space 1}    0.77{col 51}{space 3}0.443{col 59}{space 4}-.0462898{col 72}{space 3} .1058539
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0206746{col 31}{space 2}  .044554{col 42}{space 1}    0.46{col 51}{space 3}0.643{col 59}{space 4}-.0666497{col 72}{space 3} .1079988
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0531743{col 31}{space 2} .0299747{col 42}{space 1}    1.77{col 51}{space 3}0.076{col 59}{space 4} -.005575{col 72}{space 3} .1119236
{txt}{space 14}23  {c |}{col 19}{res}{space 2}-.0049157{col 31}{space 2} .0289975{col 42}{space 1}   -0.17{col 51}{space 3}0.865{col 59}{space 4}-.0617498{col 72}{space 3} .0519184
{txt}{space 14}24  {c |}{col 19}{res}{space 2} -.027226{col 31}{space 2} .0268586{col 42}{space 1}   -1.01{col 51}{space 3}0.311{col 59}{space 4} -.079868{col 72}{space 3} .0254159
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0287113{col 31}{space 2} .0370778{col 42}{space 1}   -0.77{col 51}{space 3}0.439{col 59}{space 4}-.1013825{col 72}{space 3} .0439598
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0052096{col 31}{space 2} .0329551{col 42}{space 1}    0.16{col 51}{space 3}0.874{col 59}{space 4}-.0593813{col 72}{space 3} .0698005
{txt}{space 14}29  {c |}{col 19}{res}{space 2} -.005516{col 31}{space 2} .0508443{col 42}{space 1}   -0.11{col 51}{space 3}0.914{col 59}{space 4}-.1051689{col 72}{space 3}  .094137
{txt}{space 14}30  {c |}{col 19}{res}{space 2}  .054975{col 31}{space 2} .0303092{col 42}{space 1}    1.81{col 51}{space 3}0.070{col 59}{space 4}  -.00443{col 72}{space 3} .1143801
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0215892{col 31}{space 2} .0536624{col 42}{space 1}    0.40{col 51}{space 3}0.687{col 59}{space 4}-.0835871{col 72}{space 3} .1267655
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0459481{col 31}{space 2} .0336983{col 42}{space 1}    1.36{col 51}{space 3}0.173{col 59}{space 4}-.0200994{col 72}{space 3} .1119956
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .1627358{col 31}{space 2} .0574453{col 42}{space 1}    2.83{col 51}{space 3}0.005{col 59}{space 4}  .050145{col 72}{space 3} .2753266
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0803418{col 31}{space 2} .0242191{col 42}{space 1}    3.32{col 51}{space 3}0.001{col 59}{space 4} .0328732{col 72}{space 3} .1278104
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0301767{col 31}{space 2} .0234655{col 42}{space 1}   -1.29{col 51}{space 3}0.198{col 59}{space 4}-.0761683{col 72}{space 3} .0158149
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0290481{col 31}{space 2} .0349944{col 42}{space 1}    0.83{col 51}{space 3}0.406{col 59}{space 4}-.0395397{col 72}{space 3} .0976359
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0658639{col 31}{space 2} .0316306{col 42}{space 1}    2.08{col 51}{space 3}0.037{col 59}{space 4} .0038691{col 72}{space 3} .1278586
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0157356{col 31}{space 2} .0402421{col 42}{space 1}    0.39{col 51}{space 3}0.696{col 59}{space 4}-.0631375{col 72}{space 3} .0946087
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0076973{col 31}{space 2} .0331406{col 42}{space 1}    0.23{col 51}{space 3}0.816{col 59}{space 4}-.0572571{col 72}{space 3} .0726517
{txt}{space 14}43  {c |}{col 19}{res}{space 2}  .022543{col 31}{space 2} .0346529{col 42}{space 1}    0.65{col 51}{space 3}0.515{col 59}{space 4}-.0453755{col 72}{space 3} .0904615
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0270967{col 31}{space 2} .0449451{col 42}{space 1}    0.60{col 51}{space 3}0.547{col 59}{space 4}-.0609941{col 72}{space 3} .1151875
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0430114{col 31}{space 2} .0385974{col 42}{space 1}    1.11{col 51}{space 3}0.265{col 59}{space 4}-.0326381{col 72}{space 3} .1186608
{txt}{space 14}47  {c |}{col 19}{res}{space 2} -.003886{col 31}{space 2} .0310628{col 42}{space 1}   -0.13{col 51}{space 3}0.900{col 59}{space 4}-.0647681{col 72}{space 3}  .056996
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0923149{col 31}{space 2} .0330645{col 42}{space 1}   -2.79{col 51}{space 3}0.005{col 59}{space 4}-.1571201{col 72}{space 3}-.0275098
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0289551{col 31}{space 2} .0364697{col 42}{space 1}   -0.79{col 51}{space 3}0.427{col 59}{space 4}-.1004344{col 72}{space 3} .0425241
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0113012{col 31}{space 2} .0333386{col 42}{space 1}    0.34{col 51}{space 3}0.735{col 59}{space 4}-.0540413{col 72}{space 3} .0766437
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using table3.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"table3.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "table3.txt""':seeout}

{com}. 
. margins(b4.i.misalignment_scale_factor), pwcompare(groups)
{res}
{txt}Pairwise comparisons of predictive margins
Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 26}{c TT}{hline 11}{hline 11}{hline 3}{hline 10}
{col 27}{c |}{col 39} Delta-method{col 53}Unadjusted
{col 27}{c |}     Margin{col 39}   Std. Err.{col 53}    Groups
{hline 26}{c +}{hline 11}{hline 11}{hline 3}{hline 10}
misalignment_scale_factor {c |}
{space 23}1  {c |}{col 27}{res}{space 2}-.0816996{col 39}{space 2} .0203778{col 53}{txt}      A   
{space 23}2  {c |}{col 27}{res}{space 2}-.0444699{col 39}{space 2} .0090796{col 53}{txt}      AB  
{space 23}3  {c |}{col 27}{res}{space 2}-.0312604{col 39}{space 2} .0115718{col 53}{txt}       B  
{space 23}4  {c |}{col 27}{res}{space 2} .0107146{col 39}{space 2} .0053791{col 53}{txt}        C 
{space 23}5  {c |}{col 27}{res}{space 2} .0342647{col 39}{space 2} .0220291{col 53}{txt}        C 
{space 23}6  {c |}{col 27}{res}{space 2} .0835661{col 39}{space 2} .0109349{col 53}{txt}         D
{space 23}7  {c |}{col 27}{res}{space 2} .1054942{col 39}{space 2} .0193998{col 53}{txt}         D
{hline 26}{c BT}{hline 11}{hline 11}{hline 3}{hline 10}
{p 0 6 0 62}Note: Margins sharing a letter in the group label are not significantly different at the 5% level. {p_end}
{res}{txt}
{com}. margins(b4.i.misalignment_scale_factor), post
{res}
{txt}Predictive margins{col 49}Number of obs{col 67}= {res}       836
{txt}Model VCE{col 14}: {res}Panel-corrected

{txt}{p2colset 1 14 16 2}{...}
{p2col:Expression}:{space 1}{res:Fitted values, predict()}{p_end}
{p2colreset}{...}

{res}{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31} Delta-method
{col 19}{c |}     Margin{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0816996{col 31}{space 2} .0203778{col 42}{space 1}   -4.01{col 51}{space 3}0.000{col 59}{space 4}-.1216393{col 72}{space 3}-.0417599
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0444699{col 31}{space 2} .0090796{col 42}{space 1}   -4.90{col 51}{space 3}0.000{col 59}{space 4}-.0622656{col 72}{space 3}-.0266741
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0312604{col 31}{space 2} .0115718{col 42}{space 1}   -2.70{col 51}{space 3}0.007{col 59}{space 4}-.0539407{col 72}{space 3}-.0085801
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0107146{col 31}{space 2} .0053791{col 42}{space 1}    1.99{col 51}{space 3}0.046{col 59}{space 4} .0001718{col 72}{space 3} .0212573
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0342647{col 31}{space 2} .0220291{col 42}{space 1}    1.56{col 51}{space 3}0.120{col 59}{space 4}-.0089115{col 72}{space 3}  .077441
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0835661{col 31}{space 2} .0109349{col 42}{space 1}    7.64{col 51}{space 3}0.000{col 59}{space 4} .0621341{col 72}{space 3} .1049982
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .1054942{col 31}{space 2} .0193998{col 42}{space 1}    5.44{col 51}{space 3}0.000{col 59}{space 4} .0674712{col 72}{space 3} .1435172
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}{txt}
{com}. est store model6
{txt}
{com}. 
. * Create plots
. 
. * All years
. coefplot model1 model2, keep(*misalignment_scale_factor) ciopts(recast(rcap)) xline(0) scheme(s1mono)
{res}{txt}
{com}. 
. * Early period
. coefplot model3 model4, keep(*.misalignment_scale_factor) ciopts(recast(rcap)) xline(0) scheme(s1mono)
{res}{txt}
{com}. 
. * Later period
. coefplot model5 model6, keep(*.misalignment_scale_factor) ciopts(recast(rcap)) xline(0) scheme(s1mono)
{res}{txt}
{com}. 
{txt}end of do-file

{com}. do "/var/folders/cm/7_x4jw5137vf208vsqchgqp00000gn/T//SD54758.000000"
{txt}
{com}. ****************************************************
. *
. * Robustness check: state-clustered SEs
. *
. ****************************************************
. 
. * Full panel (1976-2019)
. 
. * Model 1
. xtreg ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union, vce(cluster stateNumber) fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     2,156
{txt}Group variable: {res}stateNumber{txt}{col 49}Number of groups{col 67}={col 69}{res}        49

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0559{col 63}{txt}min{col 67}={col 69}{res}        44
{txt}     between = {res}0.4875{col 63}{txt}avg{col 67}={col 69}{res}      44.0
{txt}     overall = {res}0.0754{col 63}{txt}max{col 67}={col 69}{res}        44

{txt}{col 49}F({res}13{txt},{res}48{txt}){col 67}={col 70}{res}    11.38
{txt}corr(u_i, Xb){col 16}= {res}-0.4239{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:49} clusters in stateNumber)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0549217{col 31}{space 2} .0183232{col 42}{space 1}   -3.00{col 51}{space 3}0.004{col 59}{space 4}-.0917631{col 72}{space 3}-.0180804
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0568945{col 31}{space 2} .0115417{col 42}{space 1}   -4.93{col 51}{space 3}0.000{col 59}{space 4}-.0801006{col 72}{space 3}-.0336884
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0237671{col 31}{space 2}  .006953{col 42}{space 1}   -3.42{col 51}{space 3}0.001{col 59}{space 4}-.0377469{col 72}{space 3}-.0097872
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0160625{col 31}{space 2} .0112282{col 42}{space 1}   -1.43{col 51}{space 3}0.159{col 59}{space 4}-.0386384{col 72}{space 3} .0065133
{txt}{space 15}5  {c |}{col 19}{res}{space 2}  .005249{col 31}{space 2} .0110529{col 42}{space 1}    0.47{col 51}{space 3}0.637{col 59}{space 4}-.0169743{col 72}{space 3} .0274722
{txt}{space 15}6  {c |}{col 19}{res}{space 2}  .039866{col 31}{space 2} .0089327{col 42}{space 1}    4.46{col 51}{space 3}0.000{col 59}{space 4} .0219055{col 72}{space 3} .0578264
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0784829{col 31}{space 2} .0231404{col 42}{space 1}    3.39{col 51}{space 3}0.001{col 59}{space 4} .0319561{col 72}{space 3} .1250097
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0081367{col 31}{space 2}  .009051{col 42}{space 1}    0.90{col 51}{space 3}0.373{col 59}{space 4}-.0100615{col 72}{space 3} .0263349
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0009523{col 31}{space 2} .0107578{col 42}{space 1}    0.09{col 51}{space 3}0.930{col 59}{space 4}-.0206777{col 72}{space 3} .0225824
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0004643{col 31}{space 2} .0001978{col 42}{space 1}    2.35{col 51}{space 3}0.023{col 59}{space 4} .0000666{col 72}{space 3} .0008619
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0039009{col 31}{space 2} .0040159{col 42}{space 1}    0.97{col 51}{space 3}0.336{col 59}{space 4}-.0041735{col 72}{space 3} .0119754
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0008066{col 31}{space 2} .0003083{col 42}{space 1}    2.62{col 51}{space 3}0.012{col 59}{space 4} .0001867{col 72}{space 3} .0014266
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0013843{col 31}{space 2} .0016154{col 42}{space 1}    0.86{col 51}{space 3}0.396{col 59}{space 4}-.0018637{col 72}{space 3} .0046322
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0440308{col 31}{space 2} .0158791{col 42}{space 1}   -2.77{col 51}{space 3}0.008{col 59}{space 4}-.0759578{col 72}{space 3}-.0121038
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} .02057331
          {txt}sigma_e {c |} {res} .09532716
              {txt}rho {c |} {res} .04450448{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}. 
. * Model 2
. xtreg ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union if south == 0, vce(cluster stateNumber) fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     1,672
{txt}Group variable: {res}stateNumber{txt}{col 49}Number of groups{col 67}={col 69}{res}        38

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0561{col 63}{txt}min{col 67}={col 69}{res}        44
{txt}     between = {res}0.5519{col 63}{txt}avg{col 67}={col 69}{res}      44.0
{txt}     overall = {res}0.0830{col 63}{txt}max{col 67}={col 69}{res}        44

{txt}{col 49}F({res}13{txt},{res}37{txt}){col 67}={col 70}{res}     6.40
{txt}corr(u_i, Xb){col 16}= {res}-0.4423{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:38} clusters in stateNumber)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0489115{col 31}{space 2}  .023474{col 42}{space 1}   -2.08{col 51}{space 3}0.044{col 59}{space 4}-.0964743{col 72}{space 3}-.0013487
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2} -.057683{col 31}{space 2} .0153293{col 42}{space 1}   -3.76{col 51}{space 3}0.001{col 59}{space 4}-.0887432{col 72}{space 3}-.0266229
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0193327{col 31}{space 2} .0085523{col 42}{space 1}   -2.26{col 51}{space 3}0.030{col 59}{space 4}-.0366613{col 72}{space 3}-.0020042
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0139225{col 31}{space 2} .0145155{col 42}{space 1}   -0.96{col 51}{space 3}0.344{col 59}{space 4}-.0433337{col 72}{space 3} .0154887
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0007415{col 31}{space 2} .0128886{col 42}{space 1}    0.06{col 51}{space 3}0.954{col 59}{space 4}-.0253732{col 72}{space 3} .0268563
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0370084{col 31}{space 2} .0098857{col 42}{space 1}    3.74{col 51}{space 3}0.001{col 59}{space 4} .0169781{col 72}{space 3} .0570387
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0909186{col 31}{space 2} .0258631{col 42}{space 1}    3.52{col 51}{space 3}0.001{col 59}{space 4}  .038515{col 72}{space 3} .1433221
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0027183{col 31}{space 2} .0129361{col 42}{space 1}    0.21{col 51}{space 3}0.835{col 59}{space 4}-.0234928{col 72}{space 3} .0289294
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0048403{col 31}{space 2} .0129838{col 42}{space 1}    0.37{col 51}{space 3}0.711{col 59}{space 4}-.0214674{col 72}{space 3}  .031148
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}  .000662{col 31}{space 2} .0002226{col 42}{space 1}    2.97{col 51}{space 3}0.005{col 59}{space 4} .0002111{col 72}{space 3}  .001113
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0017561{col 31}{space 2}  .003929{col 42}{space 1}    0.45{col 51}{space 3}0.658{col 59}{space 4}-.0062049{col 72}{space 3} .0097171
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0008224{col 31}{space 2} .0003513{col 42}{space 1}    2.34{col 51}{space 3}0.025{col 59}{space 4} .0001105{col 72}{space 3} .0015343
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2}-.0000597{col 31}{space 2} .0016912{col 42}{space 1}   -0.04{col 51}{space 3}0.972{col 59}{space 4}-.0034864{col 72}{space 3}  .003367
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0418902{col 31}{space 2} .0188981{col 42}{space 1}   -2.22{col 51}{space 3}0.033{col 59}{space 4}-.0801814{col 72}{space 3} -.003599
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} .02045182
          {txt}sigma_e {c |} {res} .09475884
              {txt}rho {c |} {res} .04450932{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}. 
. * Early period (1976-1997)
. 
. * Model 3
. xtreg ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union if year < 1998, vce(cluster stateNumber) fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     1,078
{txt}Group variable: {res}stateNumber{txt}{col 49}Number of groups{col 67}={col 69}{res}        49

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0269{col 63}{txt}min{col 67}={col 69}{res}        22
{txt}     between = {res}0.1596{col 63}{txt}avg{col 67}={col 69}{res}      22.0
{txt}     overall = {res}0.0216{col 63}{txt}max{col 67}={col 69}{res}        22

{txt}{col 49}F({res}11{txt},{res}48{txt}){col 67}={col 70}{res}     3.70
{txt}corr(u_i, Xb){col 16}= {res}-0.6630{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0008

{txt}{ralign 83:(Std. Err. adjusted for {res:49} clusters in stateNumber)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0847621{col 31}{space 2} .0256272{col 42}{space 1}   -3.31{col 51}{space 3}0.002{col 59}{space 4} -.136289{col 72}{space 3}-.0332351
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2} -.047614{col 31}{space 2} .0228715{col 42}{space 1}   -2.08{col 51}{space 3}0.043{col 59}{space 4}-.0936003{col 72}{space 3}-.0016276
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0085602{col 31}{space 2} .0132507{col 42}{space 1}    0.65{col 51}{space 3}0.521{col 59}{space 4}-.0180822{col 72}{space 3} .0352025
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0020401{col 31}{space 2}  .013374{col 42}{space 1}    0.15{col 51}{space 3}0.879{col 59}{space 4}-.0248502{col 72}{space 3} .0289303
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0216935{col 31}{space 2} .0105787{col 42}{space 1}    2.05{col 51}{space 3}0.046{col 59}{space 4} .0004237{col 72}{space 3} .0429634
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0123903{col 31}{space 2} .0149603{col 42}{space 1}    0.83{col 51}{space 3}0.412{col 59}{space 4}-.0176894{col 72}{space 3} .0424701
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0005361{col 31}{space 2} .0279376{col 42}{space 1}   -0.02{col 51}{space 3}0.985{col 59}{space 4}-.0567084{col 72}{space 3} .0556362
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0002329{col 31}{space 2}  .000207{col 42}{space 1}    1.12{col 51}{space 3}0.266{col 59}{space 4}-.0001834{col 72}{space 3} .0006491
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0098731{col 31}{space 2}  .008112{col 42}{space 1}    1.22{col 51}{space 3}0.230{col 59}{space 4}-.0064372{col 72}{space 3} .0261835
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}  .001266{col 31}{space 2}  .000496{col 42}{space 1}    2.55{col 51}{space 3}0.014{col 59}{space 4} .0002687{col 72}{space 3} .0022634
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0011533{col 31}{space 2} .0023046{col 42}{space 1}    0.50{col 51}{space 3}0.619{col 59}{space 4}-.0034805{col 72}{space 3}  .005787
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0703492{col 31}{space 2} .0244932{col 42}{space 1}   -2.87{col 51}{space 3}0.006{col 59}{space 4}-.1195961{col 72}{space 3}-.0211022
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} .02702997
          {txt}sigma_e {c |} {res} .09628896
              {txt}rho {c |} {res} .07304599{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}. 
. * Model 4
. xtreg ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union if year < 1998 & south == 0, vce(cluster stateNumber) fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       836
{txt}Group variable: {res}stateNumber{txt}{col 49}Number of groups{col 67}={col 69}{res}        38

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0250{col 63}{txt}min{col 67}={col 69}{res}        22
{txt}     between = {res}0.2176{col 63}{txt}avg{col 67}={col 69}{res}      22.0
{txt}     overall = {res}0.0275{col 63}{txt}max{col 67}={col 69}{res}        22

{txt}{col 49}F({res}11{txt},{res}37{txt}){col 67}={col 70}{res}     3.16
{txt}corr(u_i, Xb){col 16}= {res}-0.5648{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0042

{txt}{ralign 83:(Std. Err. adjusted for {res:38} clusters in stateNumber)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0758848{col 31}{space 2} .0370357{col 42}{space 1}   -2.05{col 51}{space 3}0.048{col 59}{space 4}-.1509262{col 72}{space 3}-.0008435
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0503181{col 31}{space 2} .0232497{col 42}{space 1}   -2.16{col 51}{space 3}0.037{col 59}{space 4}-.0974264{col 72}{space 3}-.0032099
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0066789{col 31}{space 2} .0130939{col 42}{space 1}    0.51{col 51}{space 3}0.613{col 59}{space 4} -.019852{col 72}{space 3} .0332098
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0158332{col 31}{space 2} .0161162{col 42}{space 1}   -0.98{col 51}{space 3}0.332{col 59}{space 4}-.0484879{col 72}{space 3} .0168214
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0013935{col 31}{space 2} .0090766{col 42}{space 1}    0.15{col 51}{space 3}0.879{col 59}{space 4}-.0169974{col 72}{space 3} .0197845
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0242014{col 31}{space 2} .0179851{col 42}{space 1}    1.35{col 51}{space 3}0.187{col 59}{space 4}-.0122399{col 72}{space 3} .0606427
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}   .00003{col 31}{space 2}  .027872{col 42}{space 1}    0.00{col 51}{space 3}0.999{col 59}{space 4}-.0564441{col 72}{space 3} .0565041
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0003908{col 31}{space 2} .0002325{col 42}{space 1}    1.68{col 51}{space 3}0.101{col 59}{space 4}-.0000802{col 72}{space 3} .0008618
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0022211{col 31}{space 2} .0073432{col 42}{space 1}    0.30{col 51}{space 3}0.764{col 59}{space 4}-.0126576{col 72}{space 3} .0170998
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0012429{col 31}{space 2} .0005467{col 42}{space 1}    2.27{col 51}{space 3}0.029{col 59}{space 4} .0001351{col 72}{space 3} .0023506
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2}-.0007143{col 31}{space 2} .0022716{col 42}{space 1}   -0.31{col 51}{space 3}0.755{col 59}{space 4} -.005317{col 72}{space 3} .0038884
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0684053{col 31}{space 2} .0283039{col 42}{space 1}   -2.42{col 51}{space 3}0.021{col 59}{space 4}-.1257544{col 72}{space 3}-.0110562
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} .02359269
          {txt}sigma_e {c |} {res} .09004131
              {txt}rho {c |} {res}  .0642442{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}. 
. * Contemporary period (1998-2019)
. 
. * Model 5
. xtreg ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union if year > 1997, vce(cluster stateNumber) fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     1,078
{txt}Group variable: {res}stateNumber{txt}{col 49}Number of groups{col 67}={col 69}{res}        49

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.0944{col 63}{txt}min{col 67}={col 69}{res}        22
{txt}     between = {res}0.0010{col 63}{txt}avg{col 67}={col 69}{res}      22.0
{txt}     overall = {res}0.0335{col 63}{txt}max{col 67}={col 69}{res}        22

{txt}{col 49}F({res}13{txt},{res}48{txt}){col 67}={col 70}{res}     9.25
{txt}corr(u_i, Xb){col 16}= {res}-0.5539{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:49} clusters in stateNumber)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0856065{col 31}{space 2} .0287726{col 42}{space 1}   -2.98{col 51}{space 3}0.005{col 59}{space 4}-.1434577{col 72}{space 3}-.0277553
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0756611{col 31}{space 2} .0134755{col 42}{space 1}   -5.61{col 51}{space 3}0.000{col 59}{space 4}-.1027553{col 72}{space 3}-.0485668
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0496484{col 31}{space 2} .0078982{col 42}{space 1}   -6.29{col 51}{space 3}0.000{col 59}{space 4}-.0655289{col 72}{space 3} -.033768
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0383341{col 31}{space 2} .0114649{col 42}{space 1}   -3.34{col 51}{space 3}0.002{col 59}{space 4}-.0613858{col 72}{space 3}-.0152823
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0184092{col 31}{space 2} .0196981{col 42}{space 1}    0.93{col 51}{space 3}0.355{col 59}{space 4}-.0211966{col 72}{space 3} .0580149
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0612429{col 31}{space 2} .0147026{col 42}{space 1}    4.17{col 51}{space 3}0.000{col 59}{space 4} .0316813{col 72}{space 3} .0908045
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0773595{col 31}{space 2} .0228999{col 42}{space 1}    3.38{col 51}{space 3}0.001{col 59}{space 4} .0313162{col 72}{space 3} .1234027
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0014204{col 31}{space 2} .0192046{col 42}{space 1}   -0.07{col 51}{space 3}0.941{col 59}{space 4}-.0400339{col 72}{space 3} .0371931
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0115505{col 31}{space 2}     .011{col 42}{space 1}   -1.05{col 51}{space 3}0.299{col 59}{space 4}-.0336675{col 72}{space 3} .0105664
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}-.0004058{col 31}{space 2} .0002849{col 42}{space 1}   -1.42{col 51}{space 3}0.161{col 59}{space 4}-.0009786{col 72}{space 3}  .000167
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0223526{col 31}{space 2} .0103837{col 42}{space 1}   -2.15{col 51}{space 3}0.036{col 59}{space 4}-.0432304{col 72}{space 3}-.0014747
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}-.0000279{col 31}{space 2} .0003764{col 42}{space 1}   -0.07{col 51}{space 3}0.941{col 59}{space 4}-.0007848{col 72}{space 3}  .000729
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0021112{col 31}{space 2} .0028768{col 42}{space 1}    0.73{col 51}{space 3}0.467{col 59}{space 4} -.003673{col 72}{space 3} .0078954
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0107105{col 31}{space 2} .0198465{col 42}{space 1}    0.54{col 51}{space 3}0.592{col 59}{space 4}-.0291936{col 72}{space 3} .0506146
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} .05338727
          {txt}sigma_e {c |} {res} .09309737
              {txt}rho {c |} {res} .24747075{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}. 
. * Model 6
. xtreg ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union if year > 1997 & south == 0, vce(cluster stateNumber) fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}       836
{txt}Group variable: {res}stateNumber{txt}{col 49}Number of groups{col 67}={col 69}{res}        38

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.1059{col 63}{txt}min{col 67}={col 69}{res}        22
{txt}     between = {res}0.0262{col 63}{txt}avg{col 67}={col 69}{res}      22.0
{txt}     overall = {res}0.0563{col 63}{txt}max{col 67}={col 69}{res}        22

{txt}{col 49}F({res}13{txt},{res}37{txt}){col 67}={col 70}{res}     6.02
{txt}corr(u_i, Xb){col 16}= {res}-0.5167{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{ralign 83:(Std. Err. adjusted for {res:38} clusters in stateNumber)}
{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}    Robust
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      t{col 51}   P>|t|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0904225{col 31}{space 2} .0329532{col 42}{space 1}   -2.74{col 51}{space 3}0.009{col 59}{space 4} -.157192{col 72}{space 3} -.023653
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0924142{col 31}{space 2} .0214713{col 42}{space 1}   -4.30{col 51}{space 3}0.000{col 59}{space 4}-.1359191{col 72}{space 3}-.0489092
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0551844{col 31}{space 2} .0110055{col 42}{space 1}   -5.01{col 51}{space 3}0.000{col 59}{space 4}-.0774837{col 72}{space 3}-.0328851
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.041975{col 31}{space 2} .0147128{col 42}{space 1}   -2.85{col 51}{space 3}0.007{col 59}{space 4}-.0717859{col 72}{space 3}-.0121641
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0235502{col 31}{space 2}  .022366{col 42}{space 1}    1.05{col 51}{space 3}0.299{col 59}{space 4}-.0217677{col 72}{space 3} .0688681
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0728516{col 31}{space 2} .0169705{col 42}{space 1}    4.29{col 51}{space 3}0.000{col 59}{space 4} .0384661{col 72}{space 3}  .107237
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0947796{col 31}{space 2} .0263678{col 42}{space 1}    3.59{col 51}{space 3}0.001{col 59}{space 4} .0413534{col 72}{space 3} .1482058
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0092628{col 31}{space 2} .0306531{col 42}{space 1}    0.30{col 51}{space 3}0.764{col 59}{space 4}-.0528463{col 72}{space 3} .0713719
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0127047{col 31}{space 2} .0132509{col 42}{space 1}   -0.96{col 51}{space 3}0.344{col 59}{space 4}-.0395535{col 72}{space 3} .0141441
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}-.0003896{col 31}{space 2} .0003335{col 42}{space 1}   -1.17{col 51}{space 3}0.250{col 59}{space 4}-.0010653{col 72}{space 3}  .000286
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0203407{col 31}{space 2} .0104833{col 42}{space 1}   -1.94{col 51}{space 3}0.060{col 59}{space 4}-.0415819{col 72}{space 3} .0009004
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}-.0002902{col 31}{space 2} .0004313{col 42}{space 1}   -0.67{col 51}{space 3}0.505{col 59}{space 4}-.0011641{col 72}{space 3} .0005837
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0027417{col 31}{space 2} .0028661{col 42}{space 1}    0.96{col 51}{space 3}0.345{col 59}{space 4}-.0030655{col 72}{space 3} .0085489
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0338005{col 31}{space 2} .0243924{col 42}{space 1}    1.39{col 51}{space 3}0.174{col 59}{space 4}-.0156232{col 72}{space 3} .0832243
{txt}{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
          sigma_u {c |} {res} .05082239
          {txt}sigma_e {c |} {res} .09719441
              {txt}rho {c |} {res}  .2147121{txt}   (fraction of variance due to u_i)
{hline 18}{c BT}{hline 64}

{com}. 
. 
. ****************************************************
. *
. * For Appendix: full models (showing controls and lags)
. *
. ****************************************************
. 
. 
. * Full panel (1976-2019)
. 
. * Model 1
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     2,156
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.1097
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}56{txt}){col 67}= {res}   1158.73
{txt}Estimated coefficients{col 28}= {res}       62{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0549217{col 31}{space 2} .0321196{col 42}{space 1}   -1.71{col 51}{space 3}0.087{col 59}{space 4} -.117875{col 72}{space 3} .0080315
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0568945{col 31}{space 2} .0172477{col 42}{space 1}   -3.30{col 51}{space 3}0.001{col 59}{space 4}-.0906993{col 72}{space 3}-.0230897
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0237671{col 31}{space 2} .0071554{col 42}{space 1}   -3.32{col 51}{space 3}0.001{col 59}{space 4}-.0377915{col 72}{space 3}-.0097426
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0160625{col 31}{space 2} .0114357{col 42}{space 1}   -1.40{col 51}{space 3}0.160{col 59}{space 4}-.0384762{col 72}{space 3} .0063511
{txt}{space 15}5  {c |}{col 19}{res}{space 2}  .005249{col 31}{space 2} .0098875{col 42}{space 1}    0.53{col 51}{space 3}0.596{col 59}{space 4}-.0141303{col 72}{space 3} .0246282
{txt}{space 15}6  {c |}{col 19}{res}{space 2}  .039866{col 31}{space 2} .0068988{col 42}{space 1}    5.78{col 51}{space 3}0.000{col 59}{space 4} .0263445{col 72}{space 3} .0533874
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0784829{col 31}{space 2} .0154567{col 42}{space 1}    5.08{col 51}{space 3}0.000{col 59}{space 4} .0481884{col 72}{space 3} .1087774
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0081367{col 31}{space 2} .0089014{col 42}{space 1}    0.91{col 51}{space 3}0.361{col 59}{space 4}-.0093096{col 72}{space 3} .0255831
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0009523{col 31}{space 2} .0081577{col 42}{space 1}    0.12{col 51}{space 3}0.907{col 59}{space 4}-.0150365{col 72}{space 3} .0169412
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0004643{col 31}{space 2} .0002041{col 42}{space 1}    2.27{col 51}{space 3}0.023{col 59}{space 4} .0000642{col 72}{space 3} .0008643
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0039009{col 31}{space 2} .0052044{col 42}{space 1}    0.75{col 51}{space 3}0.454{col 59}{space 4}-.0062995{col 72}{space 3} .0141013
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0008066{col 31}{space 2} .0003082{col 42}{space 1}    2.62{col 51}{space 3}0.009{col 59}{space 4} .0002026{col 72}{space 3} .0014106
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0013843{col 31}{space 2} .0015076{col 42}{space 1}    0.92{col 51}{space 3}0.359{col 59}{space 4}-.0015706{col 72}{space 3} .0043392
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0128854{col 31}{space 2}  .026464{col 42}{space 1}   -0.49{col 51}{space 3}0.626{col 59}{space 4}-.0647538{col 72}{space 3}  .038983
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.019662{col 31}{space 2} .0239437{col 42}{space 1}   -0.82{col 51}{space 3}0.412{col 59}{space 4}-.0665909{col 72}{space 3} .0272668
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0114936{col 31}{space 2} .0187339{col 42}{space 1}    0.61{col 51}{space 3}0.540{col 59}{space 4}-.0252242{col 72}{space 3} .0482114
{txt}{space 15}5  {c |}{col 19}{res}{space 2}  .004954{col 31}{space 2} .0365606{col 42}{space 1}    0.14{col 51}{space 3}0.892{col 59}{space 4}-.0667035{col 72}{space 3} .0766115
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0124262{col 31}{space 2} .0229787{col 42}{space 1}    0.54{col 51}{space 3}0.589{col 59}{space 4}-.0326112{col 72}{space 3} .0574636
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0152624{col 31}{space 2} .0236335{col 42}{space 1}    0.65{col 51}{space 3}0.518{col 59}{space 4}-.0310585{col 72}{space 3} .0615832
{txt}{space 15}8  {c |}{col 19}{res}{space 2}  .009097{col 31}{space 2} .0228824{col 42}{space 1}    0.40{col 51}{space 3}0.691{col 59}{space 4}-.0357517{col 72}{space 3} .0539456
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0081693{col 31}{space 2} .0241959{col 42}{space 1}    0.34{col 51}{space 3}0.736{col 59}{space 4}-.0392538{col 72}{space 3} .0555923
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0211892{col 31}{space 2} .0212779{col 42}{space 1}   -1.00{col 51}{space 3}0.319{col 59}{space 4}-.0628931{col 72}{space 3} .0205147
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0449445{col 31}{space 2}  .025139{col 42}{space 1}   -1.79{col 51}{space 3}0.074{col 59}{space 4}-.0942161{col 72}{space 3} .0043271
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0159909{col 31}{space 2} .0250218{col 42}{space 1}    0.64{col 51}{space 3}0.523{col 59}{space 4}-.0330509{col 72}{space 3} .0650328
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0197404{col 31}{space 2} .0252638{col 42}{space 1}    0.78{col 51}{space 3}0.435{col 59}{space 4}-.0297758{col 72}{space 3} .0692565
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0020403{col 31}{space 2} .0197424{col 42}{space 1}    0.10{col 51}{space 3}0.918{col 59}{space 4}-.0366541{col 72}{space 3} .0407347
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0097461{col 31}{space 2} .0238098{col 42}{space 1}    0.41{col 51}{space 3}0.682{col 59}{space 4}-.0369203{col 72}{space 3} .0564125
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0144358{col 31}{space 2} .0214391{col 42}{space 1}    0.67{col 51}{space 3}0.501{col 59}{space 4}-.0275842{col 72}{space 3} .0564557
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0297704{col 31}{space 2} .0228741{col 42}{space 1}   -1.30{col 51}{space 3}0.193{col 59}{space 4}-.0746028{col 72}{space 3} .0150619
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.0020039{col 31}{space 2} .0245526{col 42}{space 1}   -0.08{col 51}{space 3}0.935{col 59}{space 4}-.0501262{col 72}{space 3} .0461184
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0367539{col 31}{space 2} .0266452{col 42}{space 1}   -1.38{col 51}{space 3}0.168{col 59}{space 4}-.0889776{col 72}{space 3} .0154697
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0103024{col 31}{space 2} .0269399{col 42}{space 1}   -0.38{col 51}{space 3}0.702{col 59}{space 4}-.0631037{col 72}{space 3} .0424988
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0071246{col 31}{space 2} .0260957{col 42}{space 1}    0.27{col 51}{space 3}0.785{col 59}{space 4}-.0440221{col 72}{space 3} .0582713
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0304122{col 31}{space 2} .0211643{col 42}{space 1}   -1.44{col 51}{space 3}0.151{col 59}{space 4}-.0718934{col 72}{space 3}  .011069
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0019332{col 31}{space 2} .0266464{col 42}{space 1}    0.07{col 51}{space 3}0.942{col 59}{space 4}-.0502928{col 72}{space 3} .0541592
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0173822{col 31}{space 2} .0227828{col 42}{space 1}   -0.76{col 51}{space 3}0.445{col 59}{space 4}-.0620356{col 72}{space 3} .0272712
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.0147291{col 31}{space 2}   .02134{col 42}{space 1}   -0.69{col 51}{space 3}0.490{col 59}{space 4}-.0565548{col 72}{space 3} .0270966
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0148195{col 31}{space 2} .0244309{col 42}{space 1}    0.61{col 51}{space 3}0.544{col 59}{space 4}-.0330641{col 72}{space 3} .0627031
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.0209746{col 31}{space 2} .0203937{col 42}{space 1}   -1.03{col 51}{space 3}0.304{col 59}{space 4}-.0609455{col 72}{space 3} .0189962
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0129957{col 31}{space 2} .0207088{col 42}{space 1}    0.63{col 51}{space 3}0.530{col 59}{space 4}-.0275929{col 72}{space 3} .0535842
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0374958{col 31}{space 2} .0297202{col 42}{space 1}    1.26{col 51}{space 3}0.207{col 59}{space 4}-.0207548{col 72}{space 3} .0957465
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0090213{col 31}{space 2} .0235487{col 42}{space 1}    0.38{col 51}{space 3}0.702{col 59}{space 4}-.0371332{col 72}{space 3} .0551758
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0282929{col 31}{space 2} .0307047{col 42}{space 1}    0.92{col 51}{space 3}0.357{col 59}{space 4}-.0318871{col 72}{space 3}  .088473
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0328293{col 31}{space 2} .0228451{col 42}{space 1}    1.44{col 51}{space 3}0.151{col 59}{space 4}-.0119463{col 72}{space 3}  .077605
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0089694{col 31}{space 2} .0264691{col 42}{space 1}   -0.34{col 51}{space 3}0.735{col 59}{space 4}-.0608478{col 72}{space 3}  .042909
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0018796{col 31}{space 2} .0200623{col 42}{space 1}   -0.09{col 51}{space 3}0.925{col 59}{space 4} -.041201{col 72}{space 3} .0374418
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0101491{col 31}{space 2} .0215686{col 42}{space 1}   -0.47{col 51}{space 3}0.638{col 59}{space 4}-.0524227{col 72}{space 3} .0321246
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0114443{col 31}{space 2} .0239757{col 42}{space 1}    0.48{col 51}{space 3}0.633{col 59}{space 4}-.0355473{col 72}{space 3} .0584359
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0251254{col 31}{space 2} .0183761{col 42}{space 1}   -1.37{col 51}{space 3}0.172{col 59}{space 4}-.0611419{col 72}{space 3} .0108911
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0218395{col 31}{space 2}  .026385{col 42}{space 1}   -0.83{col 51}{space 3}0.408{col 59}{space 4}-.0735531{col 72}{space 3} .0298742
{txt}{space 14}39  {c |}{col 19}{res}{space 2}-.0026646{col 31}{space 2} .0203934{col 42}{space 1}   -0.13{col 51}{space 3}0.896{col 59}{space 4}-.0426349{col 72}{space 3} .0373056
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0164223{col 31}{space 2} .0217046{col 42}{space 1}    0.76{col 51}{space 3}0.449{col 59}{space 4} -.026118{col 72}{space 3} .0589625
{txt}{space 14}41  {c |}{col 19}{res}{space 2}-.0035529{col 31}{space 2} .0273611{col 42}{space 1}   -0.13{col 51}{space 3}0.897{col 59}{space 4}-.0571796{col 72}{space 3} .0500738
{txt}{space 14}42  {c |}{col 19}{res}{space 2} .0083424{col 31}{space 2} .0205446{col 42}{space 1}    0.41{col 51}{space 3}0.685{col 59}{space 4}-.0319243{col 72}{space 3} .0486091
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0442501{col 31}{space 2} .0238706{col 42}{space 1}    1.85{col 51}{space 3}0.064{col 59}{space 4}-.0025354{col 72}{space 3} .0910355
{txt}{space 14}44  {c |}{col 19}{res}{space 2} .0066707{col 31}{space 2} .0278339{col 42}{space 1}    0.24{col 51}{space 3}0.811{col 59}{space 4}-.0478826{col 72}{space 3} .0612241
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0189424{col 31}{space 2} .0265353{col 42}{space 1}    0.71{col 51}{space 3}0.475{col 59}{space 4}-.0330658{col 72}{space 3} .0709507
{txt}{space 14}46  {c |}{col 19}{res}{space 2}  .012902{col 31}{space 2} .0261758{col 42}{space 1}    0.49{col 51}{space 3}0.622{col 59}{space 4}-.0384016{col 72}{space 3} .0642056
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0253532{col 31}{space 2} .0234192{col 42}{space 1}   -1.08{col 51}{space 3}0.279{col 59}{space 4}-.0712541{col 72}{space 3} .0205477
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0423747{col 31}{space 2} .0235804{col 42}{space 1}   -1.80{col 51}{space 3}0.072{col 59}{space 4}-.0885914{col 72}{space 3}  .003842
{txt}{space 14}49  {c |}{col 19}{res}{space 2}   .02934{col 31}{space 2} .0233204{col 42}{space 1}    1.26{col 51}{space 3}0.208{col 59}{space 4}-.0163671{col 72}{space 3} .0750471
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0443015{col 31}{space 2} .0227017{col 42}{space 1}   -1.95{col 51}{space 3}0.051{col 59}{space 4}-.0887959{col 72}{space 3} .0001929
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea4.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) replace dec(2) pdec(3)
{txt}{browse `"tablea4.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea4.txt""':seeout}

{com}. 
. * Model 2
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if south == 0 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,672
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.1162
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}50{txt}){col 67}= {res}   2343.59
{txt}Estimated coefficients{col 28}= {res}       51{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0489115{col 31}{space 2} .0343615{col 42}{space 1}   -1.42{col 51}{space 3}0.155{col 59}{space 4}-.1162587{col 72}{space 3} .0184358
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2} -.057683{col 31}{space 2} .0196004{col 42}{space 1}   -2.94{col 51}{space 3}0.003{col 59}{space 4}-.0960992{col 72}{space 3}-.0192669
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0193327{col 31}{space 2} .0079212{col 42}{space 1}   -2.44{col 51}{space 3}0.015{col 59}{space 4} -.034858{col 72}{space 3}-.0038075
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0139225{col 31}{space 2}  .012604{col 42}{space 1}   -1.10{col 51}{space 3}0.269{col 59}{space 4}-.0386259{col 72}{space 3} .0107809
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0007415{col 31}{space 2} .0119161{col 42}{space 1}    0.06{col 51}{space 3}0.950{col 59}{space 4}-.0226135{col 72}{space 3} .0240966
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0370084{col 31}{space 2} .0086208{col 42}{space 1}    4.29{col 51}{space 3}0.000{col 59}{space 4}  .020112{col 72}{space 3} .0539048
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0909186{col 31}{space 2} .0175699{col 42}{space 1}    5.17{col 51}{space 3}0.000{col 59}{space 4} .0564822{col 72}{space 3} .1253549
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0027183{col 31}{space 2} .0129202{col 42}{space 1}    0.21{col 51}{space 3}0.833{col 59}{space 4}-.0226048{col 72}{space 3} .0280414
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0048403{col 31}{space 2} .0086439{col 42}{space 1}    0.56{col 51}{space 3}0.575{col 59}{space 4}-.0121014{col 72}{space 3}  .021782
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}  .000662{col 31}{space 2} .0002278{col 42}{space 1}    2.91{col 51}{space 3}0.004{col 59}{space 4} .0002156{col 72}{space 3} .0011084
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0017561{col 31}{space 2} .0056179{col 42}{space 1}    0.31{col 51}{space 3}0.755{col 59}{space 4}-.0092548{col 72}{space 3}  .012767
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0008224{col 31}{space 2} .0003515{col 42}{space 1}    2.34{col 51}{space 3}0.019{col 59}{space 4} .0001335{col 72}{space 3} .0015113
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2}-.0000597{col 31}{space 2} .0016063{col 42}{space 1}   -0.04{col 51}{space 3}0.970{col 59}{space 4} -.003208{col 72}{space 3} .0030886
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2} .0073403{col 31}{space 2} .0188229{col 42}{space 1}    0.39{col 51}{space 3}0.697{col 59}{space 4} -.029552{col 72}{space 3} .0442326
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0107666{col 31}{space 2}  .037908{col 42}{space 1}    0.28{col 51}{space 3}0.776{col 59}{space 4}-.0635317{col 72}{space 3} .0850649
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0081472{col 31}{space 2} .0233509{col 42}{space 1}    0.35{col 51}{space 3}0.727{col 59}{space 4}-.0376198{col 72}{space 3} .0539142
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0089719{col 31}{space 2} .0244104{col 42}{space 1}    0.37{col 51}{space 3}0.713{col 59}{space 4}-.0388716{col 72}{space 3} .0568155
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0013192{col 31}{space 2} .0234597{col 42}{space 1}    0.06{col 51}{space 3}0.955{col 59}{space 4}-.0446611{col 72}{space 3} .0472994
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0476617{col 31}{space 2} .0260973{col 42}{space 1}   -1.83{col 51}{space 3}0.068{col 59}{space 4}-.0988115{col 72}{space 3} .0034881
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0085401{col 31}{space 2} .0254935{col 42}{space 1}    0.33{col 51}{space 3}0.738{col 59}{space 4}-.0414262{col 72}{space 3} .0585063
{txt}{space 14}13  {c |}{col 19}{res}{space 2}  .014152{col 31}{space 2} .0256174{col 42}{space 1}    0.55{col 51}{space 3}0.581{col 59}{space 4}-.0360573{col 72}{space 3} .0643613
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0039244{col 31}{space 2} .0198746{col 42}{space 1}   -0.20{col 51}{space 3}0.843{col 59}{space 4}-.0428779{col 72}{space 3} .0350291
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0005911{col 31}{space 2} .0242147{col 42}{space 1}    0.02{col 51}{space 3}0.981{col 59}{space 4}-.0468689{col 72}{space 3} .0480512
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0076225{col 31}{space 2} .0218346{col 42}{space 1}    0.35{col 51}{space 3}0.727{col 59}{space 4}-.0351726{col 72}{space 3} .0504175
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0317089{col 31}{space 2} .0239475{col 42}{space 1}   -1.32{col 51}{space 3}0.185{col 59}{space 4}-.0786452{col 72}{space 3} .0152274
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0366676{col 31}{space 2} .0273671{col 42}{space 1}   -1.34{col 51}{space 3}0.180{col 59}{space 4}-.0903062{col 72}{space 3}  .016971
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0113844{col 31}{space 2} .0281032{col 42}{space 1}   -0.41{col 51}{space 3}0.685{col 59}{space 4}-.0664656{col 72}{space 3} .0436968
{txt}{space 14}21  {c |}{col 19}{res}{space 2}-.0031525{col 31}{space 2} .0267111{col 42}{space 1}   -0.12{col 51}{space 3}0.906{col 59}{space 4}-.0555053{col 72}{space 3} .0492003
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0328589{col 31}{space 2} .0214954{col 42}{space 1}   -1.53{col 51}{space 3}0.126{col 59}{space 4}-.0749891{col 72}{space 3} .0092714
{txt}{space 14}23  {c |}{col 19}{res}{space 2}-.0055122{col 31}{space 2} .0271633{col 42}{space 1}   -0.20{col 51}{space 3}0.839{col 59}{space 4}-.0587512{col 72}{space 3} .0477268
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0219454{col 31}{space 2} .0229082{col 42}{space 1}   -0.96{col 51}{space 3}0.338{col 59}{space 4}-.0668446{col 72}{space 3} .0229538
{txt}{space 14}26  {c |}{col 19}{res}{space 2}  .007368{col 31}{space 2} .0251379{col 42}{space 1}    0.29{col 51}{space 3}0.769{col 59}{space 4}-.0419014{col 72}{space 3} .0566374
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0042746{col 31}{space 2} .0217272{col 42}{space 1}    0.20{col 51}{space 3}0.844{col 59}{space 4}-.0383099{col 72}{space 3} .0468591
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0271572{col 31}{space 2} .0304315{col 42}{space 1}    0.89{col 51}{space 3}0.372{col 59}{space 4}-.0324874{col 72}{space 3} .0868018
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0017539{col 31}{space 2} .0240823{col 42}{space 1}    0.07{col 51}{space 3}0.942{col 59}{space 4}-.0454466{col 72}{space 3} .0489544
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0195089{col 31}{space 2} .0313004{col 42}{space 1}    0.62{col 51}{space 3}0.533{col 59}{space 4}-.0418388{col 72}{space 3} .0808566
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0272234{col 31}{space 2} .0232338{col 42}{space 1}    1.17{col 51}{space 3}0.241{col 59}{space 4} -.018314{col 72}{space 3} .0727608
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0101383{col 31}{space 2} .0271416{col 42}{space 1}   -0.37{col 51}{space 3}0.709{col 59}{space 4}-.0633349{col 72}{space 3} .0430583
{txt}{space 14}34  {c |}{col 19}{res}{space 2} -.007295{col 31}{space 2} .0201449{col 42}{space 1}   -0.36{col 51}{space 3}0.717{col 59}{space 4}-.0467782{col 72}{space 3} .0321882
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0095873{col 31}{space 2} .0221698{col 42}{space 1}   -0.43{col 51}{space 3}0.665{col 59}{space 4}-.0530393{col 72}{space 3} .0338648
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0037125{col 31}{space 2} .0247809{col 42}{space 1}    0.15{col 51}{space 3}0.881{col 59}{space 4}-.0448573{col 72}{space 3} .0522823
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0288666{col 31}{space 2} .0186707{col 42}{space 1}   -1.55{col 51}{space 3}0.122{col 59}{space 4}-.0654604{col 72}{space 3} .0077272
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0283578{col 31}{space 2} .0276825{col 42}{space 1}   -1.02{col 51}{space 3}0.306{col 59}{space 4}-.0826146{col 72}{space 3}  .025899
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0048004{col 31}{space 2}  .022551{col 42}{space 1}    0.21{col 51}{space 3}0.831{col 59}{space 4}-.0393989{col 72}{space 3} .0489996
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0375331{col 31}{space 2} .0244432{col 42}{space 1}    1.54{col 51}{space 3}0.125{col 59}{space 4}-.0103747{col 72}{space 3} .0854409
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0081029{col 31}{space 2} .0278378{col 42}{space 1}    0.29{col 51}{space 3}0.771{col 59}{space 4}-.0464582{col 72}{space 3}  .062664
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0057341{col 31}{space 2} .0264342{col 42}{space 1}    0.22{col 51}{space 3}0.828{col 59}{space 4} -.046076{col 72}{space 3} .0575442
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0297534{col 31}{space 2} .0237128{col 42}{space 1}   -1.25{col 51}{space 3}0.210{col 59}{space 4}-.0762296{col 72}{space 3} .0167229
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0450225{col 31}{space 2} .0248956{col 42}{space 1}   -1.81{col 51}{space 3}0.071{col 59}{space 4}-.0938171{col 72}{space 3}  .003772
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0231483{col 31}{space 2} .0240521{col 42}{space 1}    0.96{col 51}{space 3}0.336{col 59}{space 4} -.023993{col 72}{space 3} .0702896
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0388358{col 31}{space 2}  .024317{col 42}{space 1}   -1.60{col 51}{space 3}0.110{col 59}{space 4}-.0864962{col 72}{space 3} .0088246
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea4.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea4.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea4.txt""':seeout}

{com}. 
. * Early period (1976-1997)
. 
. * Model 3
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year < 1998 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,078
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.0644
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}32{txt}){col 67}= {res}    196.74
{txt}Estimated coefficients{col 28}= {res}       60{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0847621{col 31}{space 2} .0561155{col 42}{space 1}   -1.51{col 51}{space 3}0.131{col 59}{space 4}-.1947463{col 72}{space 3} .0252222
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2} -.047614{col 31}{space 2} .0247696{col 42}{space 1}   -1.92{col 51}{space 3}0.055{col 59}{space 4}-.0961615{col 72}{space 3} .0009336
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0085602{col 31}{space 2} .0117908{col 42}{space 1}    0.73{col 51}{space 3}0.468{col 59}{space 4}-.0145494{col 72}{space 3} .0316698
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0020401{col 31}{space 2} .0127345{col 42}{space 1}    0.16{col 51}{space 3}0.873{col 59}{space 4} -.022919{col 72}{space 3} .0269991
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0216935{col 31}{space 2} .0103246{col 42}{space 1}    2.10{col 51}{space 3}0.036{col 59}{space 4} .0014577{col 72}{space 3} .0419294
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0123903{col 31}{space 2} .0152184{col 42}{space 1}    0.81{col 51}{space 3}0.416{col 59}{space 4}-.0174372{col 72}{space 3} .0422178
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0005361{col 31}{space 2} .0154204{col 42}{space 1}   -0.03{col 51}{space 3}0.972{col 59}{space 4}-.0307596{col 72}{space 3} .0296874
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0002329{col 31}{space 2} .0002805{col 42}{space 1}    0.83{col 51}{space 3}0.406{col 59}{space 4}-.0003169{col 72}{space 3} .0007826
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0098731{col 31}{space 2} .0086565{col 42}{space 1}    1.14{col 51}{space 3}0.254{col 59}{space 4}-.0070933{col 72}{space 3} .0268396
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}  .001266{col 31}{space 2} .0004533{col 42}{space 1}    2.79{col 51}{space 3}0.005{col 59}{space 4} .0003776{col 72}{space 3} .0021545
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0011533{col 31}{space 2} .0015992{col 42}{space 1}    0.72{col 51}{space 3}0.471{col 59}{space 4}-.0019812{col 72}{space 3} .0042877
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2} .0044339{col 31}{space 2} .0457369{col 42}{space 1}    0.10{col 51}{space 3}0.923{col 59}{space 4}-.0852087{col 72}{space 3} .0940765
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0126167{col 31}{space 2} .0448065{col 42}{space 1}   -0.28{col 51}{space 3}0.778{col 59}{space 4}-.1004359{col 72}{space 3} .0752024
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0077699{col 31}{space 2} .0296437{col 42}{space 1}    0.26{col 51}{space 3}0.793{col 59}{space 4}-.0503307{col 72}{space 3} .0658705
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0197032{col 31}{space 2} .0533963{col 42}{space 1}   -0.37{col 51}{space 3}0.712{col 59}{space 4}-.1243581{col 72}{space 3} .0849517
{txt}{space 15}6  {c |}{col 19}{res}{space 2} -.019344{col 31}{space 2} .0367689{col 42}{space 1}   -0.53{col 51}{space 3}0.599{col 59}{space 4}-.0914097{col 72}{space 3} .0527217
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0149548{col 31}{space 2} .0376244{col 42}{space 1}    0.40{col 51}{space 3}0.691{col 59}{space 4}-.0587876{col 72}{space 3} .0886972
{txt}{space 15}8  {c |}{col 19}{res}{space 2} -.007912{col 31}{space 2} .0326263{col 42}{space 1}   -0.24{col 51}{space 3}0.808{col 59}{space 4}-.0718583{col 72}{space 3} .0560342
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0349883{col 31}{space 2}  .043882{col 42}{space 1}    0.80{col 51}{space 3}0.425{col 59}{space 4}-.0510188{col 72}{space 3} .1209955
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0066231{col 31}{space 2} .0380138{col 42}{space 1}   -0.17{col 51}{space 3}0.862{col 59}{space 4}-.0811288{col 72}{space 3} .0678825
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0572552{col 31}{space 2} .0434268{col 42}{space 1}   -1.32{col 51}{space 3}0.187{col 59}{space 4}-.1423701{col 72}{space 3} .0278598
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0325213{col 31}{space 2} .0403496{col 42}{space 1}    0.81{col 51}{space 3}0.420{col 59}{space 4}-.0465625{col 72}{space 3}  .111605
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0162225{col 31}{space 2} .0447377{col 42}{space 1}    0.36{col 51}{space 3}0.717{col 59}{space 4}-.0714618{col 72}{space 3} .1039067
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0210753{col 31}{space 2} .0272126{col 42}{space 1}   -0.77{col 51}{space 3}0.439{col 59}{space 4}-.0744111{col 72}{space 3} .0322606
{txt}{space 14}15  {c |}{col 19}{res}{space 2}  .009854{col 31}{space 2} .0389561{col 42}{space 1}    0.25{col 51}{space 3}0.800{col 59}{space 4}-.0664986{col 72}{space 3} .0862066
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0039233{col 31}{space 2} .0368212{col 42}{space 1}    0.11{col 51}{space 3}0.915{col 59}{space 4} -.068245{col 72}{space 3} .0760916
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0292333{col 31}{space 2} .0405497{col 42}{space 1}   -0.72{col 51}{space 3}0.471{col 59}{space 4}-.1087093{col 72}{space 3} .0502427
{txt}{space 14}18  {c |}{col 19}{res}{space 2} .0125879{col 31}{space 2} .0472735{col 42}{space 1}    0.27{col 51}{space 3}0.790{col 59}{space 4}-.0800665{col 72}{space 3} .1052423
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0842631{col 31}{space 2} .0422307{col 42}{space 1}   -2.00{col 51}{space 3}0.046{col 59}{space 4}-.1670337{col 72}{space 3}-.0014925
{txt}{space 14}20  {c |}{col 19}{res}{space 2} -.022125{col 31}{space 2} .0446195{col 42}{space 1}   -0.50{col 51}{space 3}0.620{col 59}{space 4}-.1095776{col 72}{space 3} .0653277
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0005082{col 31}{space 2} .0367996{col 42}{space 1}    0.01{col 51}{space 3}0.989{col 59}{space 4}-.0716176{col 72}{space 3}  .072634
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0597221{col 31}{space 2} .0352894{col 42}{space 1}   -1.69{col 51}{space 3}0.091{col 59}{space 4}-.1288881{col 72}{space 3}  .009444
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0194673{col 31}{space 2} .0489082{col 42}{space 1}    0.40{col 51}{space 3}0.691{col 59}{space 4}-.0763909{col 72}{space 3} .1153256
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0025436{col 31}{space 2} .0386024{col 42}{space 1}   -0.07{col 51}{space 3}0.947{col 59}{space 4}-.0782028{col 72}{space 3} .0731157
{txt}{space 14}25  {c |}{col 19}{res}{space 2} .0151366{col 31}{space 2} .0384687{col 42}{space 1}    0.39{col 51}{space 3}0.694{col 59}{space 4}-.0602608{col 72}{space 3} .0905339
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0238883{col 31}{space 2} .0412434{col 42}{space 1}    0.58{col 51}{space 3}0.562{col 59}{space 4}-.0569473{col 72}{space 3} .1047238
{txt}{space 14}27  {c |}{col 19}{res}{space 2}  .000328{col 31}{space 2} .0368678{col 42}{space 1}    0.01{col 51}{space 3}0.993{col 59}{space 4}-.0719316{col 72}{space 3} .0725876
{txt}{space 14}28  {c |}{col 19}{res}{space 2} -.005568{col 31}{space 2} .0375293{col 42}{space 1}   -0.15{col 51}{space 3}0.882{col 59}{space 4}-.0791241{col 72}{space 3} .0679881
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0361069{col 31}{space 2} .0455669{col 42}{space 1}    0.79{col 51}{space 3}0.428{col 59}{space 4}-.0532026{col 72}{space 3} .1254164
{txt}{space 14}30  {c |}{col 19}{res}{space 2}-.0084398{col 31}{space 2} .0396392{col 42}{space 1}   -0.21{col 51}{space 3}0.831{col 59}{space 4}-.0861312{col 72}{space 3} .0692516
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0252608{col 31}{space 2} .0401594{col 42}{space 1}    0.63{col 51}{space 3}0.529{col 59}{space 4}-.0534501{col 72}{space 3} .1039717
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0250379{col 31}{space 2} .0364839{col 42}{space 1}    0.69{col 51}{space 3}0.493{col 59}{space 4}-.0464692{col 72}{space 3}  .096545
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0557342{col 31}{space 2}   .03606{col 42}{space 1}   -1.55{col 51}{space 3}0.122{col 59}{space 4}-.1264104{col 72}{space 3} .0149421
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0280653{col 31}{space 2} .0354173{col 42}{space 1}   -0.79{col 51}{space 3}0.428{col 59}{space 4} -.097482{col 72}{space 3} .0413514
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0174119{col 31}{space 2}  .038273{col 42}{space 1}   -0.45{col 51}{space 3}0.649{col 59}{space 4}-.0924255{col 72}{space 3} .0576018
{txt}{space 14}36  {c |}{col 19}{res}{space 2}-.0024249{col 31}{space 2} .0366641{col 42}{space 1}   -0.07{col 51}{space 3}0.947{col 59}{space 4}-.0742852{col 72}{space 3} .0694353
{txt}{space 14}37  {c |}{col 19}{res}{space 2} -.045841{col 31}{space 2} .0287279{col 42}{space 1}   -1.60{col 51}{space 3}0.111{col 59}{space 4}-.1021467{col 72}{space 3} .0104647
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0179963{col 31}{space 2} .0462755{col 42}{space 1}   -0.39{col 51}{space 3}0.697{col 59}{space 4}-.1086946{col 72}{space 3}  .072702
{txt}{space 14}39  {c |}{col 19}{res}{space 2} -.005677{col 31}{space 2} .0343951{col 42}{space 1}   -0.17{col 51}{space 3}0.869{col 59}{space 4}-.0730902{col 72}{space 3} .0617363
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.0087163{col 31}{space 2} .0394019{col 42}{space 1}   -0.22{col 51}{space 3}0.825{col 59}{space 4}-.0859426{col 72}{space 3} .0685101
{txt}{space 14}41  {c |}{col 19}{res}{space 2} .0262556{col 31}{space 2} .0428649{col 42}{space 1}    0.61{col 51}{space 3}0.540{col 59}{space 4}-.0577582{col 72}{space 3} .1102693
{txt}{space 14}42  {c |}{col 19}{res}{space 2} .0207132{col 31}{space 2} .0401821{col 42}{space 1}    0.52{col 51}{space 3}0.606{col 59}{space 4}-.0580423{col 72}{space 3} .0994688
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0135913{col 31}{space 2} .0407915{col 42}{space 1}    0.33{col 51}{space 3}0.739{col 59}{space 4}-.0663585{col 72}{space 3} .0935411
{txt}{space 14}44  {c |}{col 19}{res}{space 2} .0382624{col 31}{space 2} .0515062{col 42}{space 1}    0.74{col 51}{space 3}0.458{col 59}{space 4} -.062688{col 72}{space 3} .1392127
{txt}{space 14}45  {c |}{col 19}{res}{space 2}  .031426{col 31}{space 2} .0412553{col 42}{space 1}    0.76{col 51}{space 3}0.446{col 59}{space 4}-.0494328{col 72}{space 3} .1122848
{txt}{space 14}46  {c |}{col 19}{res}{space 2}-.0068045{col 31}{space 2} .0396852{col 42}{space 1}   -0.17{col 51}{space 3}0.864{col 59}{space 4}-.0845861{col 72}{space 3} .0709771
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0052979{col 31}{space 2} .0378557{col 42}{space 1}   -0.14{col 51}{space 3}0.889{col 59}{space 4}-.0794937{col 72}{space 3}  .068898
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0196833{col 31}{space 2}  .044728{col 42}{space 1}   -0.44{col 51}{space 3}0.660{col 59}{space 4}-.1073486{col 72}{space 3} .0679821
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0269015{col 31}{space 2} .0410089{col 42}{space 1}    0.66{col 51}{space 3}0.512{col 59}{space 4}-.0534745{col 72}{space 3} .1072775
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0676974{col 31}{space 2} .0359574{col 42}{space 1}   -1.88{col 51}{space 3}0.060{col 59}{space 4}-.1381727{col 72}{space 3} .0027779
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea4.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea4.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea4.txt""':seeout}

{com}. 
. * Model 4
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year < 1998 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       836
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.0723
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}32{txt}){col 67}= {res}    149.70
{txt}Estimated coefficients{col 28}= {res}       49{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0758848{col 31}{space 2} .0585264{col 42}{space 1}   -1.30{col 51}{space 3}0.195{col 59}{space 4}-.1905945{col 72}{space 3} .0388248
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0503181{col 31}{space 2} .0250641{col 42}{space 1}   -2.01{col 51}{space 3}0.045{col 59}{space 4}-.0994429{col 72}{space 3}-.0011934
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0066789{col 31}{space 2} .0116416{col 42}{space 1}    0.57{col 51}{space 3}0.566{col 59}{space 4}-.0161382{col 72}{space 3} .0294961
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0158332{col 31}{space 2} .0151705{col 42}{space 1}   -1.04{col 51}{space 3}0.297{col 59}{space 4}-.0455668{col 72}{space 3} .0139004
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0013935{col 31}{space 2} .0125018{col 42}{space 1}    0.11{col 51}{space 3}0.911{col 59}{space 4}-.0231095{col 72}{space 3} .0258966
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0242014{col 31}{space 2} .0182853{col 42}{space 1}    1.32{col 51}{space 3}0.186{col 59}{space 4}-.0116372{col 72}{space 3}   .06004
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}   .00003{col 31}{space 2} .0154555{col 42}{space 1}    0.00{col 51}{space 3}0.998{col 59}{space 4}-.0302621{col 72}{space 3} .0303222
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0003908{col 31}{space 2} .0003343{col 42}{space 1}    1.17{col 51}{space 3}0.242{col 59}{space 4}-.0002645{col 72}{space 3} .0010461
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0022211{col 31}{space 2} .0091276{col 42}{space 1}    0.24{col 51}{space 3}0.808{col 59}{space 4}-.0156686{col 72}{space 3} .0201108
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0012429{col 31}{space 2} .0004973{col 42}{space 1}    2.50{col 51}{space 3}0.012{col 59}{space 4} .0002682{col 72}{space 3} .0022175
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2}-.0007143{col 31}{space 2} .0016077{col 42}{space 1}   -0.44{col 51}{space 3}0.657{col 59}{space 4}-.0038654{col 72}{space 3} .0024368
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2}-.0004438{col 31}{space 2} .0294866{col 42}{space 1}   -0.02{col 51}{space 3}0.988{col 59}{space 4}-.0582365{col 72}{space 3} .0573489
{txt}{space 15}5  {c |}{col 19}{res}{space 2}   .01325{col 31}{space 2}   .05499{col 42}{space 1}    0.24{col 51}{space 3}0.810{col 59}{space 4}-.0945284{col 72}{space 3} .1210284
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.0292364{col 31}{space 2} .0372175{col 42}{space 1}   -0.79{col 51}{space 3}0.432{col 59}{space 4}-.1021814{col 72}{space 3} .0437086
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0109416{col 31}{space 2} .0386879{col 42}{space 1}    0.28{col 51}{space 3}0.777{col 59}{space 4}-.0648853{col 72}{space 3} .0867686
{txt}{space 15}8  {c |}{col 19}{res}{space 2}-.0263094{col 31}{space 2} .0330959{col 42}{space 1}   -0.79{col 51}{space 3}0.427{col 59}{space 4}-.0911762{col 72}{space 3} .0385574
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0633722{col 31}{space 2} .0450861{col 42}{space 1}   -1.41{col 51}{space 3}0.160{col 59}{space 4}-.1517393{col 72}{space 3} .0249948
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0163607{col 31}{space 2} .0410009{col 42}{space 1}    0.40{col 51}{space 3}0.690{col 59}{space 4}-.0639996{col 72}{space 3} .0967211
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0021288{col 31}{space 2} .0451502{col 42}{space 1}   -0.05{col 51}{space 3}0.962{col 59}{space 4}-.0906215{col 72}{space 3}  .086364
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0257331{col 31}{space 2}   .02716{col 42}{space 1}   -0.95{col 51}{space 3}0.343{col 59}{space 4}-.0789657{col 72}{space 3} .0274996
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0092592{col 31}{space 2} .0394298{col 42}{space 1}   -0.23{col 51}{space 3}0.814{col 59}{space 4}-.0865402{col 72}{space 3} .0680219
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0146605{col 31}{space 2} .0369548{col 42}{space 1}   -0.40{col 51}{space 3}0.692{col 59}{space 4}-.0870905{col 72}{space 3} .0577696
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0455557{col 31}{space 2} .0416347{col 42}{space 1}   -1.09{col 51}{space 3}0.274{col 59}{space 4}-.1271581{col 72}{space 3} .0360468
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0798155{col 31}{space 2} .0442562{col 42}{space 1}   -1.80{col 51}{space 3}0.071{col 59}{space 4}-.1665562{col 72}{space 3} .0069251
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0295251{col 31}{space 2} .0461481{col 42}{space 1}   -0.64{col 51}{space 3}0.522{col 59}{space 4}-.1199737{col 72}{space 3} .0609235
{txt}{space 14}21  {c |}{col 19}{res}{space 2}-.0168398{col 31}{space 2} .0376306{col 42}{space 1}   -0.45{col 51}{space 3}0.655{col 59}{space 4}-.0905944{col 72}{space 3} .0569148
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0470143{col 31}{space 2} .0357786{col 42}{space 1}   -1.31{col 51}{space 3}0.189{col 59}{space 4} -.117139{col 72}{space 3} .0231104
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0094423{col 31}{space 2} .0499528{col 42}{space 1}    0.19{col 51}{space 3}0.850{col 59}{space 4}-.0884635{col 72}{space 3} .1073481
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0101126{col 31}{space 2}  .038525{col 42}{space 1}   -0.26{col 51}{space 3}0.793{col 59}{space 4}-.0856201{col 72}{space 3} .0653949
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0017694{col 31}{space 2} .0420448{col 42}{space 1}    0.04{col 51}{space 3}0.966{col 59}{space 4}-.0806368{col 72}{space 3} .0841757
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0284599{col 31}{space 2}  .038778{col 42}{space 1}   -0.73{col 51}{space 3}0.463{col 59}{space 4}-.1044633{col 72}{space 3} .0475436
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0116272{col 31}{space 2} .0464235{col 42}{space 1}    0.25{col 51}{space 3}0.802{col 59}{space 4}-.0793612{col 72}{space 3} .1026157
{txt}{space 14}30  {c |}{col 19}{res}{space 2}-.0108646{col 31}{space 2} .0405762{col 42}{space 1}   -0.27{col 51}{space 3}0.789{col 59}{space 4}-.0903925{col 72}{space 3} .0686633
{txt}{space 14}31  {c |}{col 19}{res}{space 2}  .009808{col 31}{space 2} .0406155{col 42}{space 1}    0.24{col 51}{space 3}0.809{col 59}{space 4}-.0697969{col 72}{space 3} .0894129
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0110358{col 31}{space 2} .0366433{col 42}{space 1}    0.30{col 51}{space 3}0.763{col 59}{space 4}-.0607837{col 72}{space 3} .0828554
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0451352{col 31}{space 2} .0365114{col 42}{space 1}   -1.24{col 51}{space 3}0.216{col 59}{space 4}-.1166962{col 72}{space 3} .0264259
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0313367{col 31}{space 2} .0357268{col 42}{space 1}   -0.88{col 51}{space 3}0.380{col 59}{space 4}-.1013599{col 72}{space 3} .0386866
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0233265{col 31}{space 2} .0388783{col 42}{space 1}   -0.60{col 51}{space 3}0.549{col 59}{space 4}-.0995266{col 72}{space 3} .0528736
{txt}{space 14}36  {c |}{col 19}{res}{space 2}-.0140027{col 31}{space 2} .0378103{col 42}{space 1}   -0.37{col 51}{space 3}0.711{col 59}{space 4}-.0881096{col 72}{space 3} .0601043
{txt}{space 14}37  {c |}{col 19}{res}{space 2} -.045646{col 31}{space 2} .0291133{col 42}{space 1}   -1.57{col 51}{space 3}0.117{col 59}{space 4}-.1027069{col 72}{space 3} .0114149
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0419729{col 31}{space 2} .0473783{col 42}{space 1}   -0.89{col 51}{space 3}0.376{col 59}{space 4}-.1348327{col 72}{space 3} .0508868
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.0312079{col 31}{space 2} .0401361{col 42}{space 1}   -0.78{col 51}{space 3}0.437{col 59}{space 4}-.1098732{col 72}{space 3} .0474573
{txt}{space 14}43  {c |}{col 19}{res}{space 2} -.005162{col 31}{space 2} .0418522{col 42}{space 1}   -0.12{col 51}{space 3}0.902{col 59}{space 4}-.0871908{col 72}{space 3} .0768669
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0149117{col 31}{space 2} .0424901{col 42}{space 1}    0.35{col 51}{space 3}0.726{col 59}{space 4}-.0683674{col 72}{space 3} .0981908
{txt}{space 14}46  {c |}{col 19}{res}{space 2}-.0135377{col 31}{space 2} .0403343{col 42}{space 1}   -0.34{col 51}{space 3}0.737{col 59}{space 4}-.0925914{col 72}{space 3}  .065516
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0033907{col 31}{space 2} .0378677{col 42}{space 1}   -0.09{col 51}{space 3}0.929{col 59}{space 4}-.0776101{col 72}{space 3} .0708288
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0413173{col 31}{space 2} .0457373{col 42}{space 1}   -0.90{col 51}{space 3}0.366{col 59}{space 4}-.1309609{col 72}{space 3} .0483262
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0036822{col 31}{space 2} .0417681{col 42}{space 1}    0.09{col 51}{space 3}0.930{col 59}{space 4}-.0781819{col 72}{space 3} .0855462
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0517596{col 31}{space 2}   .03691{col 42}{space 1}   -1.40{col 51}{space 3}0.161{col 59}{space 4}-.1241018{col 72}{space 3} .0205826
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea4.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea4.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea4.txt""':seeout}

{com}. 
. * Contemporary period (1998-2019)
. 
. * Model 5
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year > 1997 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,078
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.2186
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}34{txt}){col 67}= {res}    242.86
{txt}Estimated coefficients{col 28}= {res}       62{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0856065{col 31}{space 2} .0556752{col 42}{space 1}   -1.54{col 51}{space 3}0.124{col 59}{space 4} -.194728{col 72}{space 3} .0235149
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0756611{col 31}{space 2} .0157506{col 42}{space 1}   -4.80{col 51}{space 3}0.000{col 59}{space 4}-.1065316{col 72}{space 3}-.0447905
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0496484{col 31}{space 2} .0085996{col 42}{space 1}   -5.77{col 51}{space 3}0.000{col 59}{space 4}-.0665033{col 72}{space 3}-.0327936
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0383341{col 31}{space 2} .0108556{col 42}{space 1}   -3.53{col 51}{space 3}0.000{col 59}{space 4}-.0596106{col 72}{space 3}-.0170576
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0184092{col 31}{space 2} .0214838{col 42}{space 1}    0.86{col 51}{space 3}0.392{col 59}{space 4}-.0236983{col 72}{space 3} .0605166
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0612429{col 31}{space 2}  .010539{col 42}{space 1}    5.81{col 51}{space 3}0.000{col 59}{space 4} .0405868{col 72}{space 3}  .081899
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0773595{col 31}{space 2} .0169023{col 42}{space 1}    4.58{col 51}{space 3}0.000{col 59}{space 4} .0442316{col 72}{space 3} .1104873
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0014204{col 31}{space 2} .0197733{col 42}{space 1}   -0.07{col 51}{space 3}0.943{col 59}{space 4}-.0401753{col 72}{space 3} .0373345
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0115505{col 31}{space 2} .0091586{col 42}{space 1}   -1.26{col 51}{space 3}0.207{col 59}{space 4} -.029501{col 72}{space 3} .0063999
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}-.0004058{col 31}{space 2} .0004167{col 42}{space 1}   -0.97{col 51}{space 3}0.330{col 59}{space 4}-.0012224{col 72}{space 3} .0004109
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0223526{col 31}{space 2} .0107352{col 42}{space 1}   -2.08{col 51}{space 3}0.037{col 59}{space 4}-.0433931{col 72}{space 3}-.0013121
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}-.0000279{col 31}{space 2}  .000474{col 42}{space 1}   -0.06{col 51}{space 3}0.953{col 59}{space 4}-.0009569{col 72}{space 3} .0009012
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0021112{col 31}{space 2} .0031946{col 42}{space 1}    0.66{col 51}{space 3}0.509{col 59}{space 4}-.0041501{col 72}{space 3} .0083725
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0636119{col 31}{space 2} .0360098{col 42}{space 1}   -1.77{col 51}{space 3}0.077{col 59}{space 4}-.1341899{col 72}{space 3}  .006966
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0344696{col 31}{space 2} .0301114{col 42}{space 1}   -1.14{col 51}{space 3}0.252{col 59}{space 4} -.093487{col 72}{space 3} .0245477
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0198683{col 31}{space 2} .0248422{col 42}{space 1}    0.80{col 51}{space 3}0.424{col 59}{space 4}-.0288215{col 72}{space 3} .0685581
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .2000941{col 31}{space 2} .0738266{col 42}{space 1}    2.71{col 51}{space 3}0.007{col 59}{space 4} .0553967{col 72}{space 3} .3447916
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0441722{col 31}{space 2} .0246697{col 42}{space 1}    1.79{col 51}{space 3}0.073{col 59}{space 4}-.0041796{col 72}{space 3}  .092524
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0509837{col 31}{space 2} .0325556{col 42}{space 1}    1.57{col 51}{space 3}0.117{col 59}{space 4}-.0128241{col 72}{space 3} .1147916
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0420713{col 31}{space 2}  .033975{col 42}{space 1}    1.24{col 51}{space 3}0.216{col 59}{space 4}-.0245184{col 72}{space 3}  .108661
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0319378{col 31}{space 2} .0250156{col 42}{space 1}    1.28{col 51}{space 3}0.202{col 59}{space 4} -.017092{col 72}{space 3} .0809675
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0414066{col 31}{space 2} .0295667{col 42}{space 1}   -1.40{col 51}{space 3}0.161{col 59}{space 4}-.0993562{col 72}{space 3}  .016543
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0220122{col 31}{space 2} .0324442{col 42}{space 1}    0.68{col 51}{space 3}0.497{col 59}{space 4}-.0415772{col 72}{space 3} .0856017
{txt}{space 14}12  {c |}{col 19}{res}{space 2}-.0070282{col 31}{space 2} .0320546{col 42}{space 1}   -0.22{col 51}{space 3}0.826{col 59}{space 4} -.069854{col 72}{space 3} .0557976
{txt}{space 14}13  {c |}{col 19}{res}{space 2}  -.00539{col 31}{space 2} .0299838{col 42}{space 1}   -0.18{col 51}{space 3}0.857{col 59}{space 4}-.0641572{col 72}{space 3} .0533771
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0616403{col 31}{space 2} .0296834{col 42}{space 1}    2.08{col 51}{space 3}0.038{col 59}{space 4} .0034618{col 72}{space 3} .1198187
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0097458{col 31}{space 2} .0309466{col 42}{space 1}   -0.31{col 51}{space 3}0.753{col 59}{space 4}   -.0704{col 72}{space 3} .0509083
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0155859{col 31}{space 2}  .029537{col 42}{space 1}   -0.53{col 51}{space 3}0.598{col 59}{space 4}-.0734775{col 72}{space 3} .0423056
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0568099{col 31}{space 2} .0319907{col 42}{space 1}   -1.78{col 51}{space 3}0.076{col 59}{space 4}-.1195105{col 72}{space 3} .0058906
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.0303159{col 31}{space 2} .0248085{col 42}{space 1}   -1.22{col 51}{space 3}0.222{col 59}{space 4}-.0789397{col 72}{space 3} .0183078
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0860795{col 31}{space 2} .0375747{col 42}{space 1}    2.29{col 51}{space 3}0.022{col 59}{space 4} .0124344{col 72}{space 3} .1597247
{txt}{space 14}20  {c |}{col 19}{res}{space 2}  .042839{col 31}{space 2} .0345991{col 42}{space 1}    1.24{col 51}{space 3}0.216{col 59}{space 4}-.0249739{col 72}{space 3} .1106519
{txt}{space 14}21  {c |}{col 19}{res}{space 2}  .017928{col 31}{space 2} .0417905{col 42}{space 1}    0.43{col 51}{space 3}0.668{col 59}{space 4}-.0639798{col 72}{space 3} .0998359
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0524813{col 31}{space 2} .0286691{col 42}{space 1}    1.83{col 51}{space 3}0.067{col 59}{space 4}-.0037091{col 72}{space 3} .1086717
{txt}{space 14}23  {c |}{col 19}{res}{space 2}-.0058289{col 31}{space 2} .0268036{col 42}{space 1}   -0.22{col 51}{space 3}0.828{col 59}{space 4}-.0583631{col 72}{space 3} .0467053
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0267427{col 31}{space 2} .0261471{col 42}{space 1}   -1.02{col 51}{space 3}0.306{col 59}{space 4}-.0779901{col 72}{space 3} .0245046
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.0602092{col 31}{space 2} .0277034{col 42}{space 1}   -2.17{col 51}{space 3}0.030{col 59}{space 4}-.1145067{col 72}{space 3}-.0059116
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0334552{col 31}{space 2} .0345057{col 42}{space 1}   -0.97{col 51}{space 3}0.332{col 59}{space 4}-.1010852{col 72}{space 3} .0341748
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.0454042{col 31}{space 2} .0250286{col 42}{space 1}   -1.81{col 51}{space 3}0.070{col 59}{space 4}-.0944595{col 72}{space 3}  .003651
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0051284{col 31}{space 2} .0299367{col 42}{space 1}   -0.17{col 51}{space 3}0.864{col 59}{space 4}-.0638032{col 72}{space 3} .0535464
{txt}{space 14}29  {c |}{col 19}{res}{space 2}-.0085698{col 31}{space 2} .0475966{col 42}{space 1}   -0.18{col 51}{space 3}0.857{col 59}{space 4}-.1018574{col 72}{space 3} .0847179
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0560107{col 31}{space 2} .0283761{col 42}{space 1}    1.97{col 51}{space 3}0.048{col 59}{space 4} .0003945{col 72}{space 3} .1116269
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0217559{col 31}{space 2} .0514072{col 42}{space 1}    0.42{col 51}{space 3}0.672{col 59}{space 4}-.0790003{col 72}{space 3} .1225122
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0435721{col 31}{space 2} .0316066{col 42}{space 1}    1.38{col 51}{space 3}0.168{col 59}{space 4}-.0183758{col 72}{space 3} .1055199
{txt}{space 14}33  {c |}{col 19}{res}{space 2}  .169412{col 31}{space 2} .0529666{col 42}{space 1}    3.20{col 51}{space 3}0.001{col 59}{space 4} .0655993{col 72}{space 3} .2732248
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0780398{col 31}{space 2} .0230341{col 42}{space 1}    3.39{col 51}{space 3}0.001{col 59}{space 4} .0328937{col 72}{space 3} .1231859
{txt}{space 14}35  {c |}{col 19}{res}{space 2} -.025067{col 31}{space 2} .0227424{col 42}{space 1}   -1.10{col 51}{space 3}0.270{col 59}{space 4}-.0696413{col 72}{space 3} .0195074
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0311751{col 31}{space 2}  .033275{col 42}{space 1}    0.94{col 51}{space 3}0.349{col 59}{space 4}-.0340428{col 72}{space 3} .0963929
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0672651{col 31}{space 2} .0296253{col 42}{space 1}    2.27{col 51}{space 3}0.023{col 59}{space 4} .0092006{col 72}{space 3} .1253296
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0208929{col 31}{space 2} .0342433{col 42}{space 1}    0.61{col 51}{space 3}0.542{col 59}{space 4}-.0462226{col 72}{space 3} .0880085
{txt}{space 14}39  {c |}{col 19}{res}{space 2} -.004987{col 31}{space 2} .0257255{col 42}{space 1}   -0.19{col 51}{space 3}0.846{col 59}{space 4} -.055408{col 72}{space 3}  .045434
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.0015194{col 31}{space 2} .0303311{col 42}{space 1}   -0.05{col 51}{space 3}0.960{col 59}{space 4}-.0609673{col 72}{space 3} .0579285
{txt}{space 14}41  {c |}{col 19}{res}{space 2}-.0434865{col 31}{space 2} .0395991{col 42}{space 1}   -1.10{col 51}{space 3}0.272{col 59}{space 4}-.1210993{col 72}{space 3} .0341264
{txt}{space 14}42  {c |}{col 19}{res}{space 2} .0046139{col 31}{space 2} .0172269{col 42}{space 1}    0.27{col 51}{space 3}0.789{col 59}{space 4}-.0291501{col 72}{space 3} .0383779
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0172762{col 31}{space 2} .0326323{col 42}{space 1}    0.53{col 51}{space 3}0.597{col 59}{space 4}-.0466818{col 72}{space 3} .0812343
{txt}{space 14}44  {c |}{col 19}{res}{space 2}-.0263362{col 31}{space 2} .0289202{col 42}{space 1}   -0.91{col 51}{space 3}0.362{col 59}{space 4}-.0830188{col 72}{space 3} .0303464
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0208933{col 31}{space 2} .0403371{col 42}{space 1}    0.52{col 51}{space 3}0.604{col 59}{space 4}-.0581658{col 72}{space 3} .0999525
{txt}{space 14}46  {c |}{col 19}{res}{space 2}  .050146{col 31}{space 2} .0372029{col 42}{space 1}    1.35{col 51}{space 3}0.178{col 59}{space 4}-.0227704{col 72}{space 3} .1230624
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0035982{col 31}{space 2} .0306444{col 42}{space 1}   -0.12{col 51}{space 3}0.907{col 59}{space 4}-.0636601{col 72}{space 3} .0564636
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0808504{col 31}{space 2} .0293015{col 42}{space 1}   -2.76{col 51}{space 3}0.006{col 59}{space 4}-.1382802{col 72}{space 3}-.0234207
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0313882{col 31}{space 2} .0338682{col 42}{space 1}   -0.93{col 51}{space 3}0.354{col 59}{space 4}-.0977685{col 72}{space 3} .0349922
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0012533{col 31}{space 2} .0319479{col 42}{space 1}   -0.04{col 51}{space 3}0.969{col 59}{space 4}-.0638701{col 72}{space 3} .0613636
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea4.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea4.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea4.txt""':seeout}

{com}. 
. * Model 6
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year > 1997 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       836
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.2187
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}34{txt}){col 67}= {res}    254.33
{txt}Estimated coefficients{col 28}= {res}       51{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0904225{col 31}{space 2} .0574626{col 42}{space 1}   -1.57{col 51}{space 3}0.116{col 59}{space 4}-.2030472{col 72}{space 3} .0222022
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0924142{col 31}{space 2} .0210297{col 42}{space 1}   -4.39{col 51}{space 3}0.000{col 59}{space 4}-.1336316{col 72}{space 3}-.0511967
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0551844{col 31}{space 2} .0106539{col 42}{space 1}   -5.18{col 51}{space 3}0.000{col 59}{space 4}-.0760658{col 72}{space 3}-.0343031
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.041975{col 31}{space 2} .0128124{col 42}{space 1}   -3.28{col 51}{space 3}0.001{col 59}{space 4}-.0670868{col 72}{space 3}-.0168631
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0235502{col 31}{space 2} .0224938{col 42}{space 1}    1.05{col 51}{space 3}0.295{col 59}{space 4}-.0205368{col 72}{space 3} .0676372
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0728516{col 31}{space 2} .0122588{col 42}{space 1}    5.94{col 51}{space 3}0.000{col 59}{space 4} .0488249{col 72}{space 3} .0968783
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0947796{col 31}{space 2} .0199235{col 42}{space 1}    4.76{col 51}{space 3}0.000{col 59}{space 4} .0557302{col 72}{space 3}  .133829
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0092628{col 31}{space 2} .0257045{col 42}{space 1}    0.36{col 51}{space 3}0.719{col 59}{space 4}-.0411171{col 72}{space 3} .0596427
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0127047{col 31}{space 2} .0098318{col 42}{space 1}   -1.29{col 51}{space 3}0.196{col 59}{space 4}-.0319747{col 72}{space 3} .0065653
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}-.0003896{col 31}{space 2} .0004745{col 42}{space 1}   -0.82{col 51}{space 3}0.412{col 59}{space 4}-.0013196{col 72}{space 3} .0005403
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0203407{col 31}{space 2} .0120966{col 42}{space 1}   -1.68{col 51}{space 3}0.093{col 59}{space 4}-.0440497{col 72}{space 3} .0033682
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}-.0002902{col 31}{space 2} .0005064{col 42}{space 1}   -0.57{col 51}{space 3}0.567{col 59}{space 4}-.0012828{col 72}{space 3} .0007023
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0027417{col 31}{space 2} .0036091{col 42}{space 1}    0.76{col 51}{space 3}0.447{col 59}{space 4}-.0043321{col 72}{space 3} .0098155
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2} .0228297{col 31}{space 2} .0253289{col 42}{space 1}    0.90{col 51}{space 3}0.367{col 59}{space 4} -.026814{col 72}{space 3} .0724733
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .1791071{col 31}{space 2} .0813612{col 42}{space 1}    2.20{col 51}{space 3}0.028{col 59}{space 4} .0196421{col 72}{space 3}  .338572
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0417488{col 31}{space 2} .0253527{col 42}{space 1}    1.65{col 51}{space 3}0.100{col 59}{space 4}-.0079417{col 72}{space 3} .0914392
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0554246{col 31}{space 2} .0354288{col 42}{space 1}    1.56{col 51}{space 3}0.118{col 59}{space 4}-.0140146{col 72}{space 3} .1248637
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0403344{col 31}{space 2} .0362427{col 42}{space 1}    1.11{col 51}{space 3}0.266{col 59}{space 4}-.0306999{col 72}{space 3} .1113688
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0110085{col 31}{space 2} .0372849{col 42}{space 1}    0.30{col 51}{space 3}0.768{col 59}{space 4}-.0620686{col 72}{space 3} .0840855
{txt}{space 14}12  {c |}{col 19}{res}{space 2}-.0074155{col 31}{space 2} .0327601{col 42}{space 1}   -0.23{col 51}{space 3}0.821{col 59}{space 4}-.0716242{col 72}{space 3} .0567931
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0023563{col 31}{space 2} .0309954{col 42}{space 1}   -0.08{col 51}{space 3}0.939{col 59}{space 4}-.0631061{col 72}{space 3} .0583936
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0527083{col 31}{space 2} .0314889{col 42}{space 1}    1.67{col 51}{space 3}0.094{col 59}{space 4}-.0090088{col 72}{space 3} .1144253
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0066221{col 31}{space 2} .0319791{col 42}{space 1}   -0.21{col 51}{space 3}0.836{col 59}{space 4}-.0692999{col 72}{space 3} .0560558
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0132842{col 31}{space 2} .0312365{col 42}{space 1}   -0.43{col 51}{space 3}0.671{col 59}{space 4}-.0745066{col 72}{space 3} .0479383
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0590502{col 31}{space 2} .0332328{col 42}{space 1}   -1.78{col 51}{space 3}0.076{col 59}{space 4}-.1241853{col 72}{space 3}  .006085
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0768185{col 31}{space 2} .0425342{col 42}{space 1}    1.81{col 51}{space 3}0.071{col 59}{space 4} -.006547{col 72}{space 3}  .160184
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0297821{col 31}{space 2} .0388129{col 42}{space 1}    0.77{col 51}{space 3}0.443{col 59}{space 4}-.0462898{col 72}{space 3} .1058539
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0206746{col 31}{space 2}  .044554{col 42}{space 1}    0.46{col 51}{space 3}0.643{col 59}{space 4}-.0666497{col 72}{space 3} .1079988
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0531743{col 31}{space 2} .0299747{col 42}{space 1}    1.77{col 51}{space 3}0.076{col 59}{space 4} -.005575{col 72}{space 3} .1119236
{txt}{space 14}23  {c |}{col 19}{res}{space 2}-.0049157{col 31}{space 2} .0289975{col 42}{space 1}   -0.17{col 51}{space 3}0.865{col 59}{space 4}-.0617498{col 72}{space 3} .0519184
{txt}{space 14}24  {c |}{col 19}{res}{space 2} -.027226{col 31}{space 2} .0268586{col 42}{space 1}   -1.01{col 51}{space 3}0.311{col 59}{space 4} -.079868{col 72}{space 3} .0254159
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0287113{col 31}{space 2} .0370778{col 42}{space 1}   -0.77{col 51}{space 3}0.439{col 59}{space 4}-.1013825{col 72}{space 3} .0439598
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0052096{col 31}{space 2} .0329551{col 42}{space 1}    0.16{col 51}{space 3}0.874{col 59}{space 4}-.0593813{col 72}{space 3} .0698005
{txt}{space 14}29  {c |}{col 19}{res}{space 2} -.005516{col 31}{space 2} .0508443{col 42}{space 1}   -0.11{col 51}{space 3}0.914{col 59}{space 4}-.1051689{col 72}{space 3}  .094137
{txt}{space 14}30  {c |}{col 19}{res}{space 2}  .054975{col 31}{space 2} .0303092{col 42}{space 1}    1.81{col 51}{space 3}0.070{col 59}{space 4}  -.00443{col 72}{space 3} .1143801
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0215892{col 31}{space 2} .0536624{col 42}{space 1}    0.40{col 51}{space 3}0.687{col 59}{space 4}-.0835871{col 72}{space 3} .1267655
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0459481{col 31}{space 2} .0336983{col 42}{space 1}    1.36{col 51}{space 3}0.173{col 59}{space 4}-.0200994{col 72}{space 3} .1119956
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .1627358{col 31}{space 2} .0574453{col 42}{space 1}    2.83{col 51}{space 3}0.005{col 59}{space 4}  .050145{col 72}{space 3} .2753266
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0803418{col 31}{space 2} .0242191{col 42}{space 1}    3.32{col 51}{space 3}0.001{col 59}{space 4} .0328732{col 72}{space 3} .1278104
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0301767{col 31}{space 2} .0234655{col 42}{space 1}   -1.29{col 51}{space 3}0.198{col 59}{space 4}-.0761683{col 72}{space 3} .0158149
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0290481{col 31}{space 2} .0349944{col 42}{space 1}    0.83{col 51}{space 3}0.406{col 59}{space 4}-.0395397{col 72}{space 3} .0976359
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0658639{col 31}{space 2} .0316306{col 42}{space 1}    2.08{col 51}{space 3}0.037{col 59}{space 4} .0038691{col 72}{space 3} .1278586
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0157356{col 31}{space 2} .0402421{col 42}{space 1}    0.39{col 51}{space 3}0.696{col 59}{space 4}-.0631375{col 72}{space 3} .0946087
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0076973{col 31}{space 2} .0331406{col 42}{space 1}    0.23{col 51}{space 3}0.816{col 59}{space 4}-.0572571{col 72}{space 3} .0726517
{txt}{space 14}43  {c |}{col 19}{res}{space 2}  .022543{col 31}{space 2} .0346529{col 42}{space 1}    0.65{col 51}{space 3}0.515{col 59}{space 4}-.0453755{col 72}{space 3} .0904615
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0270967{col 31}{space 2} .0449451{col 42}{space 1}    0.60{col 51}{space 3}0.547{col 59}{space 4}-.0609941{col 72}{space 3} .1151875
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0430114{col 31}{space 2} .0385974{col 42}{space 1}    1.11{col 51}{space 3}0.265{col 59}{space 4}-.0326381{col 72}{space 3} .1186608
{txt}{space 14}47  {c |}{col 19}{res}{space 2} -.003886{col 31}{space 2} .0310628{col 42}{space 1}   -0.13{col 51}{space 3}0.900{col 59}{space 4}-.0647681{col 72}{space 3}  .056996
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0923149{col 31}{space 2} .0330645{col 42}{space 1}   -2.79{col 51}{space 3}0.005{col 59}{space 4}-.1571201{col 72}{space 3}-.0275098
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0289551{col 31}{space 2} .0364697{col 42}{space 1}   -0.79{col 51}{space 3}0.427{col 59}{space 4}-.1004344{col 72}{space 3} .0425241
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0113012{col 31}{space 2} .0333386{col 42}{space 1}    0.34{col 51}{space 3}0.735{col 59}{space 4}-.0540413{col 72}{space 3} .0766437
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea4.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea4.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea4.txt""':seeout}

{com}. 
. 
. ****************************************************
. *
. * For Appendix: model results with no fixed effects
. *
. ****************************************************
. 
. 
. * Full panel (1976-2019)
. 
. * Model 1
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     2,156
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.0855
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}13{txt}){col 67}= {res}    199.79
{txt}Estimated coefficients{col 28}= {res}       14{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0299785{col 31}{space 2} .0320549{col 42}{space 1}   -0.94{col 51}{space 3}0.350{col 59}{space 4} -.092805{col 72}{space 3}  .032848
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0518008{col 31}{space 2} .0169929{col 42}{space 1}   -3.05{col 51}{space 3}0.002{col 59}{space 4}-.0851063{col 72}{space 3}-.0184953
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0256675{col 31}{space 2} .0068532{col 42}{space 1}   -3.75{col 51}{space 3}0.000{col 59}{space 4}-.0390996{col 72}{space 3}-.0122354
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0205694{col 31}{space 2}  .011329{col 42}{space 1}   -1.82{col 51}{space 3}0.069{col 59}{space 4}-.0427738{col 72}{space 3}  .001635
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0057921{col 31}{space 2} .0096677{col 42}{space 1}    0.60{col 51}{space 3}0.549{col 59}{space 4}-.0131562{col 72}{space 3} .0247404
{txt}{space 15}6  {c |}{col 19}{res}{space 2}  .039178{col 31}{space 2} .0066787{col 42}{space 1}    5.87{col 51}{space 3}0.000{col 59}{space 4}  .026088{col 72}{space 3}  .052268
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0776786{col 31}{space 2} .0150346{col 42}{space 1}    5.17{col 51}{space 3}0.000{col 59}{space 4} .0482113{col 72}{space 3} .1071459
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0177895{col 31}{space 2}  .006335{col 42}{space 1}   -2.81{col 51}{space 3}0.005{col 59}{space 4} -.030206{col 72}{space 3} -.005373
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0020488{col 31}{space 2} .0074142{col 42}{space 1}    0.28{col 51}{space 3}0.782{col 59}{space 4}-.0124828{col 72}{space 3} .0165804
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0004202{col 31}{space 2} .0001798{col 42}{space 1}    2.34{col 51}{space 3}0.019{col 59}{space 4} .0000678{col 72}{space 3} .0007726
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0002743{col 31}{space 2} .0015159{col 42}{space 1}   -0.18{col 51}{space 3}0.856{col 59}{space 4}-.0032453{col 72}{space 3} .0026968
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0006412{col 31}{space 2} .0001766{col 42}{space 1}    3.63{col 51}{space 3}0.000{col 59}{space 4} .0002951{col 72}{space 3} .0009874
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0015686{col 31}{space 2} .0015128{col 42}{space 1}    1.04{col 51}{space 3}0.300{col 59}{space 4}-.0013964{col 72}{space 3} .0045335
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0294457{col 31}{space 2}  .009963{col 42}{space 1}   -2.96{col 51}{space 3}0.003{col 59}{space 4}-.0489729{col 72}{space 3}-.0099185
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea5.xls, replace dec(2) pdec(3)
{txt}{browse `"tablea5.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea5.txt""':seeout}

{com}. 
. * Model 2
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union if south == 0 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,672
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.0936
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}13{txt}){col 67}= {res}    183.91
{txt}Estimated coefficients{col 28}= {res}       14{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0258279{col 31}{space 2} .0343441{col 42}{space 1}   -0.75{col 51}{space 3}0.452{col 59}{space 4} -.093141{col 72}{space 3} .0414852
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0518865{col 31}{space 2} .0191593{col 42}{space 1}   -2.71{col 51}{space 3}0.007{col 59}{space 4}-.0894381{col 72}{space 3}-.0143349
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0205313{col 31}{space 2} .0073984{col 42}{space 1}   -2.78{col 51}{space 3}0.006{col 59}{space 4}-.0350318{col 72}{space 3}-.0060308
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0174759{col 31}{space 2} .0125437{col 42}{space 1}   -1.39{col 51}{space 3}0.164{col 59}{space 4} -.042061{col 72}{space 3} .0071093
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0023341{col 31}{space 2} .0114924{col 42}{space 1}    0.20{col 51}{space 3}0.839{col 59}{space 4}-.0201906{col 72}{space 3} .0248588
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0391188{col 31}{space 2}  .008248{col 42}{space 1}    4.74{col 51}{space 3}0.000{col 59}{space 4}  .022953{col 72}{space 3} .0552845
{txt}{space 15}7  {c |}{col 19}{res}{space 2}  .092404{col 31}{space 2} .0169977{col 42}{space 1}    5.44{col 51}{space 3}0.000{col 59}{space 4} .0590891{col 72}{space 3} .1257189
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0249599{col 31}{space 2} .0077172{col 42}{space 1}   -3.23{col 51}{space 3}0.001{col 59}{space 4}-.0400854{col 72}{space 3}-.0098343
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0061629{col 31}{space 2}  .008122{col 42}{space 1}    0.76{col 51}{space 3}0.448{col 59}{space 4}-.0097559{col 72}{space 3} .0220817
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0006113{col 31}{space 2} .0002002{col 42}{space 1}    3.05{col 51}{space 3}0.002{col 59}{space 4}  .000219{col 72}{space 3} .0010037
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0012913{col 31}{space 2} .0015118{col 42}{space 1}   -0.85{col 51}{space 3}0.393{col 59}{space 4}-.0042543{col 72}{space 3} .0016718
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0005798{col 31}{space 2} .0002033{col 42}{space 1}    2.85{col 51}{space 3}0.004{col 59}{space 4} .0001814{col 72}{space 3} .0009782
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0003588{col 31}{space 2} .0016111{col 42}{space 1}    0.22{col 51}{space 3}0.824{col 59}{space 4} -.002799{col 72}{space 3} .0035166
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0244945{col 31}{space 2} .0114512{col 42}{space 1}   -2.14{col 51}{space 3}0.032{col 59}{space 4}-.0469385{col 72}{space 3}-.0020505
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea5.xls, append dec(2) pdec(3)
{txt}{browse `"tablea5.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea5.txt""':seeout}

{com}. 
. * Early period (1976-1997)
. 
. * Model 3
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union if year < 1998 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,078
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.0288
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}11{txt}){col 67}= {res}     31.80
{txt}Estimated coefficients{col 28}= {res}       12{col 49}{txt}Prob > chi2{col 67}= {res}    0.0008

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0524079{col 31}{space 2} .0557727{col 42}{space 1}   -0.94{col 51}{space 3}0.347{col 59}{space 4}-.1617204{col 72}{space 3} .0569046
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0425819{col 31}{space 2}  .024773{col 42}{space 1}   -1.72{col 51}{space 3}0.086{col 59}{space 4} -.091136{col 72}{space 3} .0059723
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0046473{col 31}{space 2} .0107661{col 42}{space 1}    0.43{col 51}{space 3}0.666{col 59}{space 4}-.0164539{col 72}{space 3} .0257486
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0014048{col 31}{space 2} .0125376{col 42}{space 1}    0.11{col 51}{space 3}0.911{col 59}{space 4}-.0231684{col 72}{space 3}  .025978
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0229689{col 31}{space 2} .0096949{col 42}{space 1}    2.37{col 51}{space 3}0.018{col 59}{space 4} .0039672{col 72}{space 3} .0419706
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0064956{col 31}{space 2}   .00873{col 42}{space 1}   -0.74{col 51}{space 3}0.457{col 59}{space 4} -.023606{col 72}{space 3} .0106149
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0112598{col 31}{space 2} .0143734{col 42}{space 1}   -0.78{col 51}{space 3}0.433{col 59}{space 4}-.0394312{col 72}{space 3} .0169115
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0001619{col 31}{space 2}  .000252{col 42}{space 1}    0.64{col 51}{space 3}0.521{col 59}{space 4} -.000332{col 72}{space 3} .0006558
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0007038{col 31}{space 2} .0018613{col 42}{space 1}    0.38{col 51}{space 3}0.705{col 59}{space 4}-.0029443{col 72}{space 3} .0043519
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0006306{col 31}{space 2} .0002347{col 42}{space 1}    2.69{col 51}{space 3}0.007{col 59}{space 4} .0001705{col 72}{space 3} .0010906
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0012164{col 31}{space 2} .0016139{col 42}{space 1}    0.75{col 51}{space 3}0.451{col 59}{space 4}-.0019468{col 72}{space 3} .0043796
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0342169{col 31}{space 2} .0133239{col 42}{space 1}   -2.57{col 51}{space 3}0.010{col 59}{space 4}-.0603314{col 72}{space 3}-.0081025
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea5.xls, append dec(2) pdec(3)
{txt}{browse `"tablea5.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea5.txt""':seeout}

{com}. 
. * Model 4
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union if year < 1998 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       836
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.0358
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}11{txt}){col 67}= {res}     31.83
{txt}Estimated coefficients{col 28}= {res}       12{col 49}{txt}Prob > chi2{col 67}= {res}    0.0008

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0416828{col 31}{space 2} .0581843{col 42}{space 1}   -0.72{col 51}{space 3}0.474{col 59}{space 4}-.1557219{col 72}{space 3} .0723563
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0431859{col 31}{space 2} .0247829{col 42}{space 1}   -1.74{col 51}{space 3}0.081{col 59}{space 4}-.0917595{col 72}{space 3} .0053876
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0042439{col 31}{space 2} .0104984{col 42}{space 1}    0.40{col 51}{space 3}0.686{col 59}{space 4}-.0163327{col 72}{space 3} .0248204
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0068576{col 31}{space 2} .0143244{col 42}{space 1}   -0.48{col 51}{space 3}0.632{col 59}{space 4} -.034933{col 72}{space 3} .0212178
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0070306{col 31}{space 2} .0116829{col 42}{space 1}    0.60{col 51}{space 3}0.547{col 59}{space 4}-.0158675{col 72}{space 3} .0299288
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0091528{col 31}{space 2} .0102874{col 42}{space 1}   -0.89{col 51}{space 3}0.374{col 59}{space 4}-.0293157{col 72}{space 3} .0110101
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0098787{col 31}{space 2} .0143223{col 42}{space 1}   -0.69{col 51}{space 3}0.490{col 59}{space 4}-.0379499{col 72}{space 3} .0181925
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0003191{col 31}{space 2} .0002885{col 42}{space 1}    1.11{col 51}{space 3}0.269{col 59}{space 4}-.0002464{col 72}{space 3} .0008846
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0007872{col 31}{space 2} .0018034{col 42}{space 1}   -0.44{col 51}{space 3}0.662{col 59}{space 4}-.0043218{col 72}{space 3} .0027474
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0008538{col 31}{space 2} .0002603{col 42}{space 1}    3.28{col 51}{space 3}0.001{col 59}{space 4} .0003435{col 72}{space 3}  .001364
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} -.000739{col 31}{space 2} .0016178{col 42}{space 1}   -0.46{col 51}{space 3}0.648{col 59}{space 4}-.0039099{col 72}{space 3} .0024319
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0432227{col 31}{space 2} .0150354{col 42}{space 1}   -2.87{col 51}{space 3}0.004{col 59}{space 4}-.0726915{col 72}{space 3}-.0137539
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea5.xls, append dec(2) pdec(3)
{txt}{browse `"tablea5.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea5.txt""':seeout}

{com}. 
. * Contemporary period (1998-2019)
. 
. * Model 5
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union if year > 1997 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,078
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.1563
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}13{txt}){col 67}= {res}    342.36
{txt}Estimated coefficients{col 28}= {res}       14{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0216224{col 31}{space 2} .0558567{col 42}{space 1}   -0.39{col 51}{space 3}0.699{col 59}{space 4}-.1310995{col 72}{space 3} .0878547
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0562842{col 31}{space 2} .0181087{col 42}{space 1}   -3.11{col 51}{space 3}0.002{col 59}{space 4}-.0917766{col 72}{space 3}-.0207918
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0396067{col 31}{space 2} .0080182{col 42}{space 1}   -4.94{col 51}{space 3}0.000{col 59}{space 4} -.055322{col 72}{space 3}-.0238914
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0244637{col 31}{space 2} .0102838{col 42}{space 1}   -2.38{col 51}{space 3}0.017{col 59}{space 4}-.0446196{col 72}{space 3}-.0043077
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0165035{col 31}{space 2} .0209263{col 42}{space 1}    0.79{col 51}{space 3}0.430{col 59}{space 4}-.0245113{col 72}{space 3} .0575183
{txt}{space 15}6  {c |}{col 19}{res}{space 2}  .059786{col 31}{space 2} .0104983{col 42}{space 1}    5.69{col 51}{space 3}0.000{col 59}{space 4} .0392098{col 72}{space 3} .0803623
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0773179{col 31}{space 2}  .016106{col 42}{space 1}    4.80{col 51}{space 3}0.000{col 59}{space 4} .0457507{col 72}{space 3} .1088852
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0215586{col 31}{space 2} .0105278{col 42}{space 1}   -2.05{col 51}{space 3}0.041{col 59}{space 4}-.0421927{col 72}{space 3}-.0009246
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0071564{col 31}{space 2} .0082635{col 42}{space 1}    0.87{col 51}{space 3}0.386{col 59}{space 4}-.0090397{col 72}{space 3} .0233526
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}  .000467{col 31}{space 2} .0003012{col 42}{space 1}    1.55{col 51}{space 3}0.121{col 59}{space 4}-.0001233{col 72}{space 3} .0010573
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} -.000616{col 31}{space 2} .0025249{col 42}{space 1}   -0.24{col 51}{space 3}0.807{col 59}{space 4}-.0055646{col 72}{space 3} .0043326
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0005288{col 31}{space 2} .0003173{col 42}{space 1}    1.67{col 51}{space 3}0.096{col 59}{space 4} -.000093{col 72}{space 3} .0011506
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0024729{col 31}{space 2} .0032299{col 42}{space 1}    0.77{col 51}{space 3}0.444{col 59}{space 4}-.0038575{col 72}{space 3} .0088034
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0220912{col 31}{space 2} .0168825{col 42}{space 1}   -1.31{col 51}{space 3}0.191{col 59}{space 4}-.0551803{col 72}{space 3}  .010998
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea5.xls, append dec(2) pdec(3)
{txt}{browse `"tablea5.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea5.txt""':seeout}

{com}. 
. * Model 6
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union if year > 1997 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       836
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.1623
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}13{txt}){col 67}= {res}    267.16
{txt}Estimated coefficients{col 28}= {res}       14{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0344318{col 31}{space 2} .0575472{col 42}{space 1}   -0.60{col 51}{space 3}0.550{col 59}{space 4}-.1472223{col 72}{space 3} .0783587
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0621268{col 31}{space 2} .0250718{col 42}{space 1}   -2.48{col 51}{space 3}0.013{col 59}{space 4}-.1112667{col 72}{space 3} -.012987
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0403285{col 31}{space 2} .0095284{col 42}{space 1}   -4.23{col 51}{space 3}0.000{col 59}{space 4}-.0590038{col 72}{space 3}-.0216533
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0272045{col 31}{space 2} .0124439{col 42}{space 1}   -2.19{col 51}{space 3}0.029{col 59}{space 4} -.051594{col 72}{space 3} -.002815
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0184799{col 31}{space 2} .0221082{col 42}{space 1}    0.84{col 51}{space 3}0.403{col 59}{space 4}-.0248514{col 72}{space 3} .0618112
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0718721{col 31}{space 2} .0117182{col 42}{space 1}    6.13{col 51}{space 3}0.000{col 59}{space 4}  .048905{col 72}{space 3} .0948393
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0940738{col 31}{space 2} .0185477{col 42}{space 1}    5.07{col 51}{space 3}0.000{col 59}{space 4} .0577209{col 72}{space 3} .1304266
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0236636{col 31}{space 2} .0123051{col 42}{space 1}   -1.92{col 51}{space 3}0.054{col 59}{space 4} -.047781{col 72}{space 3} .0004539
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0085753{col 31}{space 2} .0095794{col 42}{space 1}    0.90{col 51}{space 3}0.371{col 59}{space 4}   -.0102{col 72}{space 3} .0273507
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0005378{col 31}{space 2} .0003295{col 42}{space 1}    1.63{col 51}{space 3}0.103{col 59}{space 4} -.000108{col 72}{space 3} .0011835
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0015873{col 31}{space 2} .0025553{col 42}{space 1}   -0.62{col 51}{space 3}0.534{col 59}{space 4}-.0065957{col 72}{space 3}  .003421
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0002087{col 31}{space 2} .0003412{col 42}{space 1}    0.61{col 51}{space 3}0.541{col 59}{space 4}-.0004601{col 72}{space 3} .0008775
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2}  .003809{col 31}{space 2} .0036574{col 42}{space 1}    1.04{col 51}{space 3}0.298{col 59}{space 4}-.0033594{col 72}{space 3} .0109775
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} -.001899{col 31}{space 2} .0186204{col 42}{space 1}   -0.10{col 51}{space 3}0.919{col 59}{space 4}-.0383942{col 72}{space 3} .0345963
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea5.xls, append dec(2) pdec(3)
{txt}{browse `"tablea5.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea5.txt""':seeout}

{com}. 
. 
. ****************************************************
. *
. * For Appendix: model with no controls
. *
. ****************************************************
. 
. 
. * Full panel (1976-2019)
. 
. * Model 1
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor i.stateNumber
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     2,156
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.1011
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}50{txt}){col 67}= {res}   2594.51
{txt}Estimated coefficients{col 28}= {res}       56{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0471017{col 31}{space 2} .0323594{col 42}{space 1}   -1.46{col 51}{space 3}0.146{col 59}{space 4} -.110525{col 72}{space 3} .0163217
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0562115{col 31}{space 2} .0174727{col 42}{space 1}   -3.22{col 51}{space 3}0.001{col 59}{space 4}-.0904573{col 72}{space 3}-.0219657
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0252425{col 31}{space 2} .0066485{col 42}{space 1}   -3.80{col 51}{space 3}0.000{col 59}{space 4}-.0382733{col 72}{space 3}-.0122116
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.019596{col 31}{space 2} .0106369{col 42}{space 1}   -1.84{col 51}{space 3}0.065{col 59}{space 4} -.040444{col 72}{space 3}  .001252
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0074873{col 31}{space 2} .0095135{col 42}{space 1}    0.79{col 51}{space 3}0.431{col 59}{space 4}-.0111588{col 72}{space 3} .0261334
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0404487{col 31}{space 2} .0067908{col 42}{space 1}    5.96{col 51}{space 3}0.000{col 59}{space 4} .0271389{col 72}{space 3} .0537585
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0847206{col 31}{space 2} .0159821{col 42}{space 1}    5.30{col 51}{space 3}0.000{col 59}{space 4} .0533962{col 72}{space 3} .1160449
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0202148{col 31}{space 2} .0223894{col 42}{space 1}   -0.90{col 51}{space 3}0.367{col 59}{space 4}-.0640972{col 72}{space 3} .0236677
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0162171{col 31}{space 2} .0201477{col 42}{space 1}   -0.80{col 51}{space 3}0.421{col 59}{space 4}-.0557058{col 72}{space 3} .0232716
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0083489{col 31}{space 2} .0180301{col 42}{space 1}    0.46{col 51}{space 3}0.643{col 59}{space 4}-.0269895{col 72}{space 3} .0436873
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0456838{col 31}{space 2} .0251463{col 42}{space 1}    1.82{col 51}{space 3}0.069{col 59}{space 4} -.003602{col 72}{space 3} .0949696
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0172756{col 31}{space 2} .0220249{col 42}{space 1}    0.78{col 51}{space 3}0.433{col 59}{space 4}-.0258925{col 72}{space 3} .0604437
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0471392{col 31}{space 2} .0201303{col 42}{space 1}    2.34{col 51}{space 3}0.019{col 59}{space 4} .0076846{col 72}{space 3} .0865938
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0263884{col 31}{space 2} .0205627{col 42}{space 1}    1.28{col 51}{space 3}0.199{col 59}{space 4}-.0139138{col 72}{space 3} .0666906
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0138585{col 31}{space 2} .0235069{col 42}{space 1}    0.59{col 51}{space 3}0.555{col 59}{space 4}-.0322143{col 72}{space 3} .0599312
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0242681{col 31}{space 2} .0172504{col 42}{space 1}   -1.41{col 51}{space 3}0.159{col 59}{space 4}-.0580783{col 72}{space 3}  .009542
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0015103{col 31}{space 2} .0208411{col 42}{space 1}   -0.07{col 51}{space 3}0.942{col 59}{space 4} -.042358{col 72}{space 3} .0393375
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0239232{col 31}{space 2} .0233208{col 42}{space 1}    1.03{col 51}{space 3}0.305{col 59}{space 4}-.0217848{col 72}{space 3} .0696312
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0067873{col 31}{space 2} .0215825{col 42}{space 1}   -0.31{col 51}{space 3}0.753{col 59}{space 4}-.0490882{col 72}{space 3} .0355135
{txt}{space 14}14  {c |}{col 19}{res}{space 2}  .024099{col 31}{space 2}  .018566{col 42}{space 1}    1.30{col 51}{space 3}0.194{col 59}{space 4}-.0122897{col 72}{space 3} .0604877
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0060118{col 31}{space 2} .0211645{col 42}{space 1}    0.28{col 51}{space 3}0.776{col 59}{space 4}-.0354699{col 72}{space 3} .0474934
{txt}{space 14}16  {c |}{col 19}{res}{space 2}  .000865{col 31}{space 2} .0178019{col 42}{space 1}    0.05{col 51}{space 3}0.961{col 59}{space 4} -.034026{col 72}{space 3} .0357561
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0336615{col 31}{space 2} .0189576{col 42}{space 1}   -1.78{col 51}{space 3}0.076{col 59}{space 4}-.0708177{col 72}{space 3} .0034948
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.0078908{col 31}{space 2} .0226895{col 42}{space 1}   -0.35{col 51}{space 3}0.728{col 59}{space 4}-.0523614{col 72}{space 3} .0365797
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0210342{col 31}{space 2} .0214662{col 42}{space 1}    0.98{col 51}{space 3}0.327{col 59}{space 4}-.0210389{col 72}{space 3} .0631073
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0240537{col 31}{space 2} .0240102{col 42}{space 1}    1.00{col 51}{space 3}0.316{col 59}{space 4}-.0230055{col 72}{space 3} .0711129
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0268272{col 31}{space 2}  .022179{col 42}{space 1}    1.21{col 51}{space 3}0.226{col 59}{space 4}-.0166428{col 72}{space 3} .0702973
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0032767{col 31}{space 2} .0185766{col 42}{space 1}   -0.18{col 51}{space 3}0.860{col 59}{space 4} -.039686{col 72}{space 3} .0331327
{txt}{space 14}23  {c |}{col 19}{res}{space 2}  .018373{col 31}{space 2} .0246188{col 42}{space 1}    0.75{col 51}{space 3}0.455{col 59}{space 4} -.029879{col 72}{space 3} .0666249
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0105665{col 31}{space 2} .0215848{col 42}{space 1}   -0.49{col 51}{space 3}0.624{col 59}{space 4}-.0528719{col 72}{space 3}  .031739
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.0235857{col 31}{space 2} .0187309{col 42}{space 1}   -1.26{col 51}{space 3}0.208{col 59}{space 4}-.0602977{col 72}{space 3} .0131263
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0114928{col 31}{space 2}  .020168{col 42}{space 1}    0.57{col 51}{space 3}0.569{col 59}{space 4}-.0280358{col 72}{space 3} .0510214
{txt}{space 14}27  {c |}{col 19}{res}{space 2} -.019167{col 31}{space 2} .0182215{col 42}{space 1}   -1.05{col 51}{space 3}0.293{col 59}{space 4}-.0548805{col 72}{space 3} .0165466
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0108969{col 31}{space 2} .0145236{col 42}{space 1}    0.75{col 51}{space 3}0.453{col 59}{space 4} -.017569{col 72}{space 3} .0393627
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0325826{col 31}{space 2} .0249444{col 42}{space 1}    1.31{col 51}{space 3}0.191{col 59}{space 4}-.0163075{col 72}{space 3} .0814728
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0328339{col 31}{space 2} .0217346{col 42}{space 1}    1.51{col 51}{space 3}0.131{col 59}{space 4}-.0097652{col 72}{space 3} .0754329
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0283175{col 31}{space 2}  .027214{col 42}{space 1}    1.04{col 51}{space 3}0.298{col 59}{space 4}-.0250209{col 72}{space 3} .0816558
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0316098{col 31}{space 2} .0205731{col 42}{space 1}    1.54{col 51}{space 3}0.124{col 59}{space 4}-.0087128{col 72}{space 3} .0719323
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .0366815{col 31}{space 2} .0203933{col 42}{space 1}    1.80{col 51}{space 3}0.072{col 59}{space 4}-.0032887{col 72}{space 3} .0766516
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0124575{col 31}{space 2} .0193604{col 42}{space 1}    0.64{col 51}{space 3}0.520{col 59}{space 4}-.0254882{col 72}{space 3} .0504031
{txt}{space 14}35  {c |}{col 19}{res}{space 2} -.026514{col 31}{space 2} .0195668{col 42}{space 1}   -1.36{col 51}{space 3}0.175{col 59}{space 4}-.0648642{col 72}{space 3} .0118362
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0292645{col 31}{space 2} .0211248{col 42}{space 1}    1.39{col 51}{space 3}0.166{col 59}{space 4}-.0121394{col 72}{space 3} .0706684
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0018314{col 31}{space 2} .0168747{col 42}{space 1}   -0.11{col 51}{space 3}0.914{col 59}{space 4}-.0349051{col 72}{space 3} .0312424
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0219942{col 31}{space 2} .0196728{col 42}{space 1}    1.12{col 51}{space 3}0.264{col 59}{space 4}-.0165637{col 72}{space 3} .0605521
{txt}{space 14}39  {c |}{col 19}{res}{space 2}-.0032674{col 31}{space 2} .0187478{col 42}{space 1}   -0.17{col 51}{space 3}0.862{col 59}{space 4}-.0400124{col 72}{space 3} .0334777
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0124582{col 31}{space 2}  .016033{col 42}{space 1}    0.78{col 51}{space 3}0.437{col 59}{space 4}-.0189658{col 72}{space 3} .0438822
{txt}{space 14}41  {c |}{col 19}{res}{space 2}-.0026828{col 31}{space 2} .0247558{col 42}{space 1}   -0.11{col 51}{space 3}0.914{col 59}{space 4}-.0512033{col 72}{space 3} .0458377
{txt}{space 14}42  {c |}{col 19}{res}{space 2} .0035168{col 31}{space 2} .0190384{col 42}{space 1}    0.18{col 51}{space 3}0.853{col 59}{space 4}-.0337979{col 72}{space 3} .0408314
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0151179{col 31}{space 2} .0185269{col 42}{space 1}    0.82{col 51}{space 3}0.415{col 59}{space 4}-.0211942{col 72}{space 3}   .05143
{txt}{space 14}44  {c |}{col 19}{res}{space 2} .0028646{col 31}{space 2} .0256835{col 42}{space 1}    0.11{col 51}{space 3}0.911{col 59}{space 4} -.047474{col 72}{space 3} .0532033
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0523365{col 31}{space 2} .0208219{col 42}{space 1}    2.51{col 51}{space 3}0.012{col 59}{space 4} .0115263{col 72}{space 3} .0931467
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0291982{col 31}{space 2} .0246893{col 42}{space 1}    1.18{col 51}{space 3}0.237{col 59}{space 4}-.0191919{col 72}{space 3} .0775882
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0070874{col 31}{space 2} .0229619{col 42}{space 1}   -0.31{col 51}{space 3}0.758{col 59}{space 4} -.052092{col 72}{space 3} .0379171
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0260607{col 31}{space 2} .0191417{col 42}{space 1}   -1.36{col 51}{space 3}0.173{col 59}{space 4}-.0635777{col 72}{space 3} .0114563
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0024823{col 31}{space 2} .0168938{col 42}{space 1}    0.15{col 51}{space 3}0.883{col 59}{space 4}-.0306289{col 72}{space 3} .0355936
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0138816{col 31}{space 2} .0151186{col 42}{space 1}   -0.92{col 51}{space 3}0.359{col 59}{space 4}-.0435136{col 72}{space 3} .0157504
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea6.xls, keep(l.ydiff b4.i.misalignment_scale_factor) replace dec(2) pdec(3)
{txt}{browse `"tablea6.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea6.txt""':seeout}

{com}. 
. * Model 2
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor i.stateNumber if south == 0 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,672
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.1045
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}44{txt}){col 67}= {res}   1218.74
{txt}Estimated coefficients{col 28}= {res}       45{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0389554{col 31}{space 2} .0347847{col 42}{space 1}   -1.12{col 51}{space 3}0.263{col 59}{space 4}-.1071321{col 72}{space 3} .0292213
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0571024{col 31}{space 2} .0195347{col 42}{space 1}   -2.92{col 51}{space 3}0.003{col 59}{space 4}-.0953898{col 72}{space 3} -.018815
{txt}{space 15}2  {c |}{col 19}{res}{space 2} -.019555{col 31}{space 2} .0073805{col 42}{space 1}   -2.65{col 51}{space 3}0.008{col 59}{space 4}-.0340205{col 72}{space 3}-.0050896
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0168478{col 31}{space 2} .0112459{col 42}{space 1}   -1.50{col 51}{space 3}0.134{col 59}{space 4}-.0388893{col 72}{space 3} .0051937
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0026761{col 31}{space 2} .0122113{col 42}{space 1}    0.22{col 51}{space 3}0.827{col 59}{space 4}-.0212577{col 72}{space 3} .0266099
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0385702{col 31}{space 2} .0086601{col 42}{space 1}    4.45{col 51}{space 3}0.000{col 59}{space 4} .0215967{col 72}{space 3} .0555438
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0986894{col 31}{space 2} .0182644{col 42}{space 1}    5.40{col 51}{space 3}0.000{col 59}{space 4} .0628918{col 72}{space 3}  .134487
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2} .0074129{col 31}{space 2}  .018097{col 42}{space 1}    0.41{col 51}{space 3}0.682{col 59}{space 4}-.0280567{col 72}{space 3} .0428825
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0460862{col 31}{space 2} .0251211{col 42}{space 1}    1.83{col 51}{space 3}0.067{col 59}{space 4}-.0031503{col 72}{space 3} .0953227
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0180872{col 31}{space 2} .0222063{col 42}{space 1}    0.81{col 51}{space 3}0.415{col 59}{space 4}-.0254363{col 72}{space 3} .0616107
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0486259{col 31}{space 2} .0203085{col 42}{space 1}    2.39{col 51}{space 3}0.017{col 59}{space 4}  .008822{col 72}{space 3} .0884298
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0269111{col 31}{space 2} .0207969{col 42}{space 1}    1.29{col 51}{space 3}0.196{col 59}{space 4}-.0138501{col 72}{space 3} .0676723
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0002962{col 31}{space 2} .0212019{col 42}{space 1}    0.01{col 51}{space 3}0.989{col 59}{space 4}-.0412587{col 72}{space 3} .0418512
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0241641{col 31}{space 2} .0234423{col 42}{space 1}    1.03{col 51}{space 3}0.303{col 59}{space 4}-.0217821{col 72}{space 3} .0701102
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0083139{col 31}{space 2} .0216839{col 42}{space 1}   -0.38{col 51}{space 3}0.701{col 59}{space 4}-.0508136{col 72}{space 3} .0341858
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0237093{col 31}{space 2} .0186211{col 42}{space 1}    1.27{col 51}{space 3}0.203{col 59}{space 4}-.0127873{col 72}{space 3}  .060206
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0047661{col 31}{space 2} .0212385{col 42}{space 1}    0.22{col 51}{space 3}0.822{col 59}{space 4}-.0368606{col 72}{space 3} .0463928
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0007751{col 31}{space 2} .0178165{col 42}{space 1}   -0.04{col 51}{space 3}0.965{col 59}{space 4}-.0356947{col 72}{space 3} .0341445
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0315262{col 31}{space 2} .0192336{col 42}{space 1}   -1.64{col 51}{space 3}0.101{col 59}{space 4}-.0692235{col 72}{space 3}  .006171
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0229668{col 31}{space 2} .0216488{col 42}{space 1}    1.06{col 51}{space 3}0.289{col 59}{space 4}-.0194641{col 72}{space 3} .0653978
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0265322{col 31}{space 2} .0244519{col 42}{space 1}    1.09{col 51}{space 3}0.278{col 59}{space 4}-.0213925{col 72}{space 3}  .074457
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0263505{col 31}{space 2} .0220566{col 42}{space 1}    1.19{col 51}{space 3}0.232{col 59}{space 4}-.0168797{col 72}{space 3} .0695807
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0039619{col 31}{space 2} .0187164{col 42}{space 1}   -0.21{col 51}{space 3}0.832{col 59}{space 4}-.0406453{col 72}{space 3} .0327216
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0195881{col 31}{space 2} .0246558{col 42}{space 1}    0.79{col 51}{space 3}0.427{col 59}{space 4}-.0287364{col 72}{space 3} .0679125
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0093728{col 31}{space 2} .0217102{col 42}{space 1}   -0.43{col 51}{space 3}0.666{col 59}{space 4} -.051924{col 72}{space 3} .0331784
{txt}{space 14}26  {c |}{col 19}{res}{space 2}  .011118{col 31}{space 2} .0202258{col 42}{space 1}    0.55{col 51}{space 3}0.583{col 59}{space 4}-.0285238{col 72}{space 3} .0507599
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0089772{col 31}{space 2} .0147011{col 42}{space 1}    0.61{col 51}{space 3}0.541{col 59}{space 4}-.0198365{col 72}{space 3} .0377909
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0317832{col 31}{space 2} .0249708{col 42}{space 1}    1.27{col 51}{space 3}0.203{col 59}{space 4}-.0171588{col 72}{space 3} .0807251
{txt}{space 14}30  {c |}{col 19}{res}{space 2}  .032053{col 31}{space 2} .0219629{col 42}{space 1}    1.46{col 51}{space 3}0.144{col 59}{space 4}-.0109935{col 72}{space 3} .0750995
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0288706{col 31}{space 2} .0272403{col 42}{space 1}    1.06{col 51}{space 3}0.289{col 59}{space 4}-.0245195{col 72}{space 3} .0822607
{txt}{space 14}32  {c |}{col 19}{res}{space 2}  .032436{col 31}{space 2} .0205842{col 42}{space 1}    1.58{col 51}{space 3}0.115{col 59}{space 4}-.0079083{col 72}{space 3} .0727804
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .0373077{col 31}{space 2} .0205452{col 42}{space 1}    1.82{col 51}{space 3}0.069{col 59}{space 4}-.0029602{col 72}{space 3} .0775756
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0110592{col 31}{space 2} .0194486{col 42}{space 1}    0.57{col 51}{space 3}0.570{col 59}{space 4}-.0270594{col 72}{space 3} .0491778
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0261446{col 31}{space 2} .0196787{col 42}{space 1}   -1.33{col 51}{space 3}0.184{col 59}{space 4}-.0647143{col 72}{space 3}  .012425
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0301171{col 31}{space 2} .0213699{col 42}{space 1}    1.41{col 51}{space 3}0.159{col 59}{space 4}-.0117672{col 72}{space 3} .0720014
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0023368{col 31}{space 2} .0169587{col 42}{space 1}   -0.14{col 51}{space 3}0.890{col 59}{space 4}-.0355753{col 72}{space 3} .0309017
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0230458{col 31}{space 2} .0198068{col 42}{space 1}    1.16{col 51}{space 3}0.245{col 59}{space 4}-.0157748{col 72}{space 3} .0618664
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0093648{col 31}{space 2} .0163018{col 42}{space 1}    0.57{col 51}{space 3}0.566{col 59}{space 4}-.0225861{col 72}{space 3} .0413156
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0125212{col 31}{space 2} .0186045{col 42}{space 1}    0.67{col 51}{space 3}0.501{col 59}{space 4} -.023943{col 72}{space 3} .0489854
{txt}{space 14}45  {c |}{col 19}{res}{space 2}  .052857{col 31}{space 2}  .020977{col 42}{space 1}    2.52{col 51}{space 3}0.012{col 59}{space 4} .0117429{col 72}{space 3} .0939712
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0293363{col 31}{space 2} .0247549{col 42}{space 1}    1.19{col 51}{space 3}0.236{col 59}{space 4}-.0191824{col 72}{space 3}  .077855
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0066976{col 31}{space 2} .0231036{col 42}{space 1}   -0.29{col 51}{space 3}0.772{col 59}{space 4}-.0519798{col 72}{space 3} .0385847
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0250215{col 31}{space 2} .0194794{col 42}{space 1}   -1.28{col 51}{space 3}0.199{col 59}{space 4}-.0632004{col 72}{space 3} .0131574
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0013183{col 31}{space 2} .0169959{col 42}{space 1}    0.08{col 51}{space 3}0.938{col 59}{space 4} -.031993{col 72}{space 3} .0346296
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0146228{col 31}{space 2} .0151767{col 42}{space 1}   -0.96{col 51}{space 3}0.335{col 59}{space 4}-.0443686{col 72}{space 3} .0151229
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea6.xls, keep(l.ydiff b4.i.misalignment_scale_factor) append dec(2) pdec(3)
{txt}{browse `"tablea6.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea6.txt""':seeout}

{com}. 
. * Early period (1976-1997)
. 
. * Model 3
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor i.stateNumber if year < 1998 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,078
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.0547
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}26{txt}){col 67}= {res}     66.21
{txt}Estimated coefficients{col 28}= {res}       54{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0794223{col 31}{space 2} .0565701{col 42}{space 1}   -1.40{col 51}{space 3}0.160{col 59}{space 4}-.1902976{col 72}{space 3}  .031453
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0496996{col 31}{space 2} .0256704{col 42}{space 1}   -1.94{col 51}{space 3}0.053{col 59}{space 4}-.1000126{col 72}{space 3} .0006135
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0075975{col 31}{space 2}  .011858{col 42}{space 1}    0.64{col 51}{space 3}0.522{col 59}{space 4}-.0156437{col 72}{space 3} .0308387
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0018299{col 31}{space 2} .0126208{col 42}{space 1}   -0.14{col 51}{space 3}0.885{col 59}{space 4}-.0265662{col 72}{space 3} .0229064
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0216275{col 31}{space 2} .0107651{col 42}{space 1}    2.01{col 51}{space 3}0.045{col 59}{space 4} .0005283{col 72}{space 3} .0427267
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0172179{col 31}{space 2}   .03648{col 42}{space 1}   -0.47{col 51}{space 3}0.637{col 59}{space 4}-.0887174{col 72}{space 3} .0542816
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0226806{col 31}{space 2} .0340477{col 42}{space 1}   -0.67{col 51}{space 3}0.505{col 59}{space 4}-.0894129{col 72}{space 3} .0440518
{txt}{space 15}4  {c |}{col 19}{res}{space 2}-.0137125{col 31}{space 2}  .026887{col 42}{space 1}   -0.51{col 51}{space 3}0.610{col 59}{space 4}  -.06641{col 72}{space 3}  .038985
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0339014{col 31}{space 2} .0400244{col 42}{space 1}    0.85{col 51}{space 3}0.397{col 59}{space 4} -.044545{col 72}{space 3} .1123477
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.0279096{col 31}{space 2} .0347445{col 42}{space 1}   -0.80{col 51}{space 3}0.422{col 59}{space 4}-.0960075{col 72}{space 3} .0401884
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0385341{col 31}{space 2} .0320919{col 42}{space 1}    1.20{col 51}{space 3}0.230{col 59}{space 4}-.0243648{col 72}{space 3}  .101433
{txt}{space 15}8  {c |}{col 19}{res}{space 2}-.0110317{col 31}{space 2} .0270709{col 42}{space 1}   -0.41{col 51}{space 3}0.684{col 59}{space 4}-.0640897{col 72}{space 3} .0420263
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0251514{col 31}{space 2} .0415754{col 42}{space 1}    0.60{col 51}{space 3}0.545{col 59}{space 4}-.0563348{col 72}{space 3} .1066377
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0283296{col 31}{space 2} .0275068{col 42}{space 1}   -1.03{col 51}{space 3}0.303{col 59}{space 4}-.0822421{col 72}{space 3} .0255828
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0179523{col 31}{space 2} .0348167{col 42}{space 1}   -0.52{col 51}{space 3}0.606{col 59}{space 4}-.0861917{col 72}{space 3} .0502872
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0285206{col 31}{space 2} .0366182{col 42}{space 1}    0.78{col 51}{space 3}0.436{col 59}{space 4}-.0432498{col 72}{space 3}  .100291
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0317629{col 31}{space 2} .0370152{col 42}{space 1}   -0.86{col 51}{space 3}0.391{col 59}{space 4}-.1043114{col 72}{space 3} .0407857
{txt}{space 14}14  {c |}{col 19}{res}{space 2} -.008491{col 31}{space 2} .0251316{col 42}{space 1}   -0.34{col 51}{space 3}0.735{col 59}{space 4}-.0577479{col 72}{space 3}  .040766
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0119802{col 31}{space 2} .0316305{col 42}{space 1}   -0.38{col 51}{space 3}0.705{col 59}{space 4}-.0739749{col 72}{space 3} .0500145
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0284542{col 31}{space 2} .0288808{col 42}{space 1}   -0.99{col 51}{space 3}0.325{col 59}{space 4}-.0850595{col 72}{space 3} .0281512
{txt}{space 14}17  {c |}{col 19}{res}{space 2} -.040471{col 31}{space 2}  .027545{col 42}{space 1}   -1.47{col 51}{space 3}0.142{col 59}{space 4}-.0944581{col 72}{space 3} .0135162
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.0058381{col 31}{space 2} .0423563{col 42}{space 1}   -0.14{col 51}{space 3}0.890{col 59}{space 4} -.088855{col 72}{space 3} .0771787
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0092218{col 31}{space 2} .0321267{col 42}{space 1}   -0.29{col 51}{space 3}0.774{col 59}{space 4} -.072189{col 72}{space 3} .0537454
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0082184{col 31}{space 2} .0376141{col 42}{space 1}    0.22{col 51}{space 3}0.827{col 59}{space 4} -.065504{col 72}{space 3} .0819407
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0047954{col 31}{space 2} .0288702{col 42}{space 1}    0.17{col 51}{space 3}0.868{col 59}{space 4}-.0517892{col 72}{space 3}   .06138
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0186626{col 31}{space 2}  .029588{col 42}{space 1}   -0.63{col 51}{space 3}0.528{col 59}{space 4} -.076654{col 72}{space 3} .0393289
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0275206{col 31}{space 2}  .045464{col 42}{space 1}    0.61{col 51}{space 3}0.545{col 59}{space 4}-.0615872{col 72}{space 3} .1166284
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0032342{col 31}{space 2} .0354243{col 42}{space 1}   -0.09{col 51}{space 3}0.927{col 59}{space 4}-.0726645{col 72}{space 3} .0661961
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.0126829{col 31}{space 2} .0310292{col 42}{space 1}   -0.41{col 51}{space 3}0.683{col 59}{space 4}-.0734991{col 72}{space 3} .0481333
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0031939{col 31}{space 2}  .032428{col 42}{space 1}    0.10{col 51}{space 3}0.922{col 59}{space 4}-.0603638{col 72}{space 3} .0667516
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.0136085{col 31}{space 2} .0292336{col 42}{space 1}   -0.47{col 51}{space 3}0.642{col 59}{space 4}-.0709053{col 72}{space 3} .0436883
{txt}{space 14}28  {c |}{col 19}{res}{space 2}  -.01735{col 31}{space 2}  .025042{col 42}{space 1}   -0.69{col 51}{space 3}0.488{col 59}{space 4}-.0664315{col 72}{space 3} .0317315
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0004761{col 31}{space 2} .0353488{col 42}{space 1}    0.01{col 51}{space 3}0.989{col 59}{space 4}-.0688063{col 72}{space 3} .0697585
{txt}{space 14}30  {c |}{col 19}{res}{space 2}   .01373{col 31}{space 2} .0362192{col 42}{space 1}    0.38{col 51}{space 3}0.705{col 59}{space 4}-.0572584{col 72}{space 3} .0847183
{txt}{space 14}31  {c |}{col 19}{res}{space 2}-.0066158{col 31}{space 2} .0303951{col 42}{space 1}   -0.22{col 51}{space 3}0.828{col 59}{space 4}-.0661892{col 72}{space 3} .0529576
{txt}{space 14}32  {c |}{col 19}{res}{space 2}-.0042807{col 31}{space 2} .0297778{col 42}{space 1}   -0.14{col 51}{space 3}0.886{col 59}{space 4}-.0626441{col 72}{space 3} .0540826
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0032624{col 31}{space 2} .0273798{col 42}{space 1}   -0.12{col 51}{space 3}0.905{col 59}{space 4}-.0569259{col 72}{space 3} .0504011
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0187694{col 31}{space 2} .0336269{col 42}{space 1}   -0.56{col 51}{space 3}0.577{col 59}{space 4} -.084677{col 72}{space 3} .0471382
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0368376{col 31}{space 2} .0343509{col 42}{space 1}   -1.07{col 51}{space 3}0.284{col 59}{space 4}-.1041642{col 72}{space 3}  .030489
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0065043{col 31}{space 2} .0299104{col 42}{space 1}    0.22{col 51}{space 3}0.828{col 59}{space 4} -.052119{col 72}{space 3} .0651276
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0248849{col 31}{space 2} .0269919{col 42}{space 1}   -0.92{col 51}{space 3}0.357{col 59}{space 4}-.0777881{col 72}{space 3} .0280183
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0131065{col 31}{space 2} .0326533{col 42}{space 1}    0.40{col 51}{space 3}0.688{col 59}{space 4}-.0508928{col 72}{space 3} .0771059
{txt}{space 14}39  {c |}{col 19}{res}{space 2}-.0155844{col 31}{space 2} .0300894{col 42}{space 1}   -0.52{col 51}{space 3}0.605{col 59}{space 4}-.0745586{col 72}{space 3} .0433899
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.0291434{col 31}{space 2} .0286711{col 42}{space 1}   -1.02{col 51}{space 3}0.309{col 59}{space 4}-.0853377{col 72}{space 3} .0270508
{txt}{space 14}41  {c |}{col 19}{res}{space 2} .0196501{col 31}{space 2} .0348263{col 42}{space 1}    0.56{col 51}{space 3}0.573{col 59}{space 4}-.0486081{col 72}{space 3} .0879083
{txt}{space 14}42  {c |}{col 19}{res}{space 2} -.001651{col 31}{space 2} .0358199{col 42}{space 1}   -0.05{col 51}{space 3}0.963{col 59}{space 4}-.0718568{col 72}{space 3} .0685548
{txt}{space 14}43  {c |}{col 19}{res}{space 2} -.038606{col 31}{space 2} .0296496{col 42}{space 1}   -1.30{col 51}{space 3}0.193{col 59}{space 4}-.0967182{col 72}{space 3} .0195061
{txt}{space 14}44  {c |}{col 19}{res}{space 2} .0076659{col 31}{space 2} .0475579{col 42}{space 1}    0.16{col 51}{space 3}0.872{col 59}{space 4}-.0855459{col 72}{space 3} .1008778
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0467834{col 31}{space 2} .0326629{col 42}{space 1}    1.43{col 51}{space 3}0.152{col 59}{space 4}-.0172347{col 72}{space 3} .1108015
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0014637{col 31}{space 2} .0360818{col 42}{space 1}    0.04{col 51}{space 3}0.968{col 59}{space 4}-.0692553{col 72}{space 3} .0721826
{txt}{space 14}47  {c |}{col 19}{res}{space 2} .0107737{col 31}{space 2} .0366327{col 42}{space 1}    0.29{col 51}{space 3}0.769{col 59}{space 4}-.0610251{col 72}{space 3} .0825725
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0049907{col 31}{space 2} .0328813{col 42}{space 1}   -0.15{col 51}{space 3}0.879{col 59}{space 4}-.0694369{col 72}{space 3} .0594555
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0187804{col 31}{space 2} .0290891{col 42}{space 1}   -0.65{col 51}{space 3}0.519{col 59}{space 4}-.0757939{col 72}{space 3} .0382332
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0033514{col 31}{space 2} .0254168{col 42}{space 1}   -0.13{col 51}{space 3}0.895{col 59}{space 4}-.0531674{col 72}{space 3} .0464646
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea6.xls, keep(l.ydiff b4.i.misalignment_scale_factor) append dec(2) pdec(3)
{txt}{browse `"tablea6.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea6.txt""':seeout}

{com}. 
. * Model 4
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor i.stateNumber if year < 1998 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       836
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.0617
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}26{txt}){col 67}= {res}     88.10
{txt}Estimated coefficients{col 28}= {res}       43{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0727891{col 31}{space 2} .0593002{col 42}{space 1}   -1.23{col 51}{space 3}0.220{col 59}{space 4}-.1890153{col 72}{space 3} .0434371
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0514852{col 31}{space 2} .0255843{col 42}{space 1}   -2.01{col 51}{space 3}0.044{col 59}{space 4}-.1016295{col 72}{space 3} -.001341
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0060172{col 31}{space 2} .0117541{col 42}{space 1}    0.51{col 51}{space 3}0.609{col 59}{space 4}-.0170204{col 72}{space 3} .0290548
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0154259{col 31}{space 2} .0156482{col 42}{space 1}   -0.99{col 51}{space 3}0.324{col 59}{space 4}-.0460958{col 72}{space 3}  .015244
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0020289{col 31}{space 2} .0129334{col 42}{space 1}    0.16{col 51}{space 3}0.875{col 59}{space 4}  -.02332{col 72}{space 3} .0273778
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2}-.0131702{col 31}{space 2} .0269408{col 42}{space 1}   -0.49{col 51}{space 3}0.625{col 59}{space 4}-.0659733{col 72}{space 3} .0396328
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0387723{col 31}{space 2} .0398063{col 42}{space 1}    0.97{col 51}{space 3}0.330{col 59}{space 4}-.0392466{col 72}{space 3} .1167912
{txt}{space 15}6  {c |}{col 19}{res}{space 2}  -.02779{col 31}{space 2} .0348005{col 42}{space 1}   -0.80{col 51}{space 3}0.425{col 59}{space 4}-.0959977{col 72}{space 3} .0404178
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0486569{col 31}{space 2} .0325079{col 42}{space 1}    1.50{col 51}{space 3}0.134{col 59}{space 4}-.0150574{col 72}{space 3} .1123712
{txt}{space 15}8  {c |}{col 19}{res}{space 2}-.0101241{col 31}{space 2} .0271713{col 42}{space 1}   -0.37{col 51}{space 3}0.709{col 59}{space 4}-.0633789{col 72}{space 3} .0431307
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0000725{col 31}{space 2}  .035446{col 42}{space 1}   -0.00{col 51}{space 3}0.998{col 59}{space 4}-.0695454{col 72}{space 3} .0694004
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0286551{col 31}{space 2} .0366493{col 42}{space 1}    0.78{col 51}{space 3}0.434{col 59}{space 4}-.0431762{col 72}{space 3} .1004864
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0314158{col 31}{space 2} .0370095{col 42}{space 1}   -0.85{col 51}{space 3}0.396{col 59}{space 4}-.1039532{col 72}{space 3} .0411216
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0073916{col 31}{space 2} .0251082{col 42}{space 1}   -0.29{col 51}{space 3}0.768{col 59}{space 4}-.0566026{col 72}{space 3} .0418195
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0112753{col 31}{space 2} .0316472{col 42}{space 1}   -0.36{col 51}{space 3}0.722{col 59}{space 4}-.0733027{col 72}{space 3} .0507521
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0277861{col 31}{space 2} .0288806{col 42}{space 1}   -0.96{col 51}{space 3}0.336{col 59}{space 4}-.0843911{col 72}{space 3} .0288188
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0224293{col 31}{space 2} .0282431{col 42}{space 1}   -0.79{col 51}{space 3}0.427{col 59}{space 4}-.0777848{col 72}{space 3} .0329263
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0030376{col 31}{space 2} .0323347{col 42}{space 1}    0.09{col 51}{space 3}0.925{col 59}{space 4}-.0603372{col 72}{space 3} .0664124
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0259866{col 31}{space 2} .0380477{col 42}{space 1}    0.68{col 51}{space 3}0.495{col 59}{space 4}-.0485854{col 72}{space 3} .1005587
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0081688{col 31}{space 2} .0288826{col 42}{space 1}    0.28{col 51}{space 3}0.777{col 59}{space 4}-.0484401{col 72}{space 3} .0647777
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0175061{col 31}{space 2} .0294006{col 42}{space 1}   -0.60{col 51}{space 3}0.552{col 59}{space 4}-.0751302{col 72}{space 3} .0401179
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0347475{col 31}{space 2} .0459218{col 42}{space 1}    0.76{col 51}{space 3}0.449{col 59}{space 4}-.0552576{col 72}{space 3} .1247525
{txt}{space 14}24  {c |}{col 19}{res}{space 2} .0031085{col 31}{space 2} .0354336{col 42}{space 1}    0.09{col 51}{space 3}0.930{col 59}{space 4}  -.06634{col 72}{space 3} .0725571
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0042125{col 31}{space 2} .0325446{col 42}{space 1}    0.13{col 51}{space 3}0.897{col 59}{space 4}-.0595738{col 72}{space 3} .0679988
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0169661{col 31}{space 2} .0249489{col 42}{space 1}   -0.68{col 51}{space 3}0.496{col 59}{space 4}-.0658649{col 72}{space 3} .0319328
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0014854{col 31}{space 2} .0353719{col 42}{space 1}    0.04{col 51}{space 3}0.967{col 59}{space 4}-.0678422{col 72}{space 3}  .070813
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0198792{col 31}{space 2} .0362655{col 42}{space 1}    0.55{col 51}{space 3}0.584{col 59}{space 4}   -.0512{col 72}{space 3} .0909583
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0032836{col 31}{space 2} .0305437{col 42}{space 1}    0.11{col 51}{space 3}0.914{col 59}{space 4}-.0565809{col 72}{space 3} .0631481
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0013982{col 31}{space 2} .0296115{col 42}{space 1}    0.05{col 51}{space 3}0.962{col 59}{space 4}-.0566392{col 72}{space 3} .0594357
{txt}{space 14}33  {c |}{col 19}{res}{space 2}  -.00325{col 31}{space 2} .0273978{col 42}{space 1}   -0.12{col 51}{space 3}0.906{col 59}{space 4}-.0569487{col 72}{space 3} .0504487
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0167194{col 31}{space 2} .0340403{col 42}{space 1}   -0.49{col 51}{space 3}0.623{col 59}{space 4}-.0834372{col 72}{space 3} .0499983
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0249587{col 31}{space 2} .0346112{col 42}{space 1}   -0.72{col 51}{space 3}0.471{col 59}{space 4}-.0927955{col 72}{space 3}  .042878
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0121395{col 31}{space 2} .0305397{col 42}{space 1}    0.40{col 51}{space 3}0.691{col 59}{space 4}-.0477172{col 72}{space 3} .0719962
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0216358{col 31}{space 2} .0270448{col 42}{space 1}   -0.80{col 51}{space 3}0.424{col 59}{space 4}-.0746426{col 72}{space 3} .0313711
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0228938{col 31}{space 2} .0324046{col 42}{space 1}    0.71{col 51}{space 3}0.480{col 59}{space 4}-.0406181{col 72}{space 3} .0864057
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.0277755{col 31}{space 2} .0285837{col 42}{space 1}   -0.97{col 51}{space 3}0.331{col 59}{space 4}-.0837985{col 72}{space 3} .0282476
{txt}{space 14}43  {c |}{col 19}{res}{space 2}-.0365967{col 31}{space 2} .0297214{col 42}{space 1}   -1.23{col 51}{space 3}0.218{col 59}{space 4}-.0948495{col 72}{space 3} .0216561
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0513701{col 31}{space 2} .0329614{col 42}{space 1}    1.56{col 51}{space 3}0.119{col 59}{space 4} -.013233{col 72}{space 3} .1159733
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0075359{col 31}{space 2} .0366189{col 42}{space 1}    0.21{col 51}{space 3}0.837{col 59}{space 4}-.0642359{col 72}{space 3} .0793076
{txt}{space 14}47  {c |}{col 19}{res}{space 2}  .016438{col 31}{space 2} .0364908{col 42}{space 1}    0.45{col 51}{space 3}0.652{col 59}{space 4}-.0550827{col 72}{space 3} .0879586
{txt}{space 14}48  {c |}{col 19}{res}{space 2} .0075732{col 31}{space 2} .0328276{col 42}{space 1}    0.23{col 51}{space 3}0.818{col 59}{space 4}-.0567678{col 72}{space 3} .0719141
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0184895{col 31}{space 2} .0290803{col 42}{space 1}   -0.64{col 51}{space 3}0.525{col 59}{space 4}-.0754859{col 72}{space 3}  .038507
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0032901{col 31}{space 2} .0254277{col 42}{space 1}   -0.13{col 51}{space 3}0.897{col 59}{space 4}-.0531276{col 72}{space 3} .0465473
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea6.xls, keep(l.ydiff b4.i.misalignment_scale_factor) append dec(2) pdec(3)
{txt}{browse `"tablea6.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea6.txt""':seeout}

{com}. 
. * Contemporary period (1998-2019)
. 
. * Model 5
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor i.stateNumber if year > 1997 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,078
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.2137
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}28{txt}){col 67}= {res}    447.55
{txt}Estimated coefficients{col 28}= {res}       56{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0823387{col 31}{space 2} .0558064{col 42}{space 1}   -1.48{col 51}{space 3}0.140{col 59}{space 4}-.1917173{col 72}{space 3} .0270398
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0764626{col 31}{space 2} .0164868{col 42}{space 1}   -4.64{col 51}{space 3}0.000{col 59}{space 4}-.1087762{col 72}{space 3} -.044149
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0483585{col 31}{space 2} .0085976{col 42}{space 1}   -5.62{col 51}{space 3}0.000{col 59}{space 4}-.0652095{col 72}{space 3}-.0315074
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0357837{col 31}{space 2} .0103053{col 42}{space 1}   -3.47{col 51}{space 3}0.001{col 59}{space 4}-.0559816{col 72}{space 3}-.0155857
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0173211{col 31}{space 2} .0218639{col 42}{space 1}    0.79{col 51}{space 3}0.428{col 59}{space 4}-.0255314{col 72}{space 3} .0601736
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0617005{col 31}{space 2} .0105215{col 42}{space 1}    5.86{col 51}{space 3}0.000{col 59}{space 4} .0410788{col 72}{space 3} .0823222
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0792443{col 31}{space 2} .0168736{col 42}{space 1}    4.70{col 51}{space 3}0.000{col 59}{space 4} .0461727{col 72}{space 3} .1123159
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0184631{col 31}{space 2} .0253257{col 42}{space 1}   -0.73{col 51}{space 3}0.466{col 59}{space 4}-.0681005{col 72}{space 3} .0311744
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0050102{col 31}{space 2} .0215098{col 42}{space 1}   -0.23{col 51}{space 3}0.816{col 59}{space 4}-.0471686{col 72}{space 3} .0371482
{txt}{space 15}4  {c |}{col 19}{res}{space 2}  .029326{col 31}{space 2} .0229194{col 42}{space 1}    1.28{col 51}{space 3}0.201{col 59}{space 4}-.0155952{col 72}{space 3} .0742472
{txt}{space 15}5  {c |}{col 19}{res}{space 2}  .048517{col 31}{space 2} .0305964{col 42}{space 1}    1.59{col 51}{space 3}0.113{col 59}{space 4}-.0114509{col 72}{space 3} .1084848
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0533184{col 31}{space 2} .0215482{col 42}{space 1}    2.47{col 51}{space 3}0.013{col 59}{space 4} .0110848{col 72}{space 3} .0955521
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0546017{col 31}{space 2} .0239717{col 42}{space 1}    2.28{col 51}{space 3}0.023{col 59}{space 4} .0076181{col 72}{space 3} .1015854
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0519009{col 31}{space 2} .0280757{col 42}{space 1}    1.85{col 51}{space 3}0.065{col 59}{space 4}-.0031264{col 72}{space 3} .1069283
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0247795{col 31}{space 2} .0218326{col 42}{space 1}    1.13{col 51}{space 3}0.256{col 59}{space 4}-.0180117{col 72}{space 3} .0675707
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0032179{col 31}{space 2} .0205617{col 42}{space 1}   -0.16{col 51}{space 3}0.876{col 59}{space 4}-.0435181{col 72}{space 3} .0370822
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0144825{col 31}{space 2} .0227945{col 42}{space 1}    0.64{col 51}{space 3}0.525{col 59}{space 4}-.0301939{col 72}{space 3}  .059159
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0086764{col 31}{space 2} .0276787{col 42}{space 1}    0.31{col 51}{space 3}0.754{col 59}{space 4}-.0455729{col 72}{space 3} .0629256
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0255942{col 31}{space 2} .0211126{col 42}{space 1}    1.21{col 51}{space 3}0.225{col 59}{space 4}-.0157857{col 72}{space 3}  .066974
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0424783{col 31}{space 2} .0264625{col 42}{space 1}    1.61{col 51}{space 3}0.108{col 59}{space 4}-.0093873{col 72}{space 3} .0943439
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0135018{col 31}{space 2} .0263521{col 42}{space 1}    0.51{col 51}{space 3}0.608{col 59}{space 4}-.0381473{col 72}{space 3} .0651508
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0227307{col 31}{space 2} .0205141{col 42}{space 1}    1.11{col 51}{space 3}0.268{col 59}{space 4}-.0174763{col 72}{space 3} .0629376
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0187886{col 31}{space 2} .0249791{col 42}{space 1}   -0.75{col 51}{space 3}0.452{col 59}{space 4}-.0677467{col 72}{space 3} .0301696
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.0016898{col 31}{space 2} .0177155{col 42}{space 1}   -0.10{col 51}{space 3}0.924{col 59}{space 4}-.0364115{col 72}{space 3} .0330319
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0504902{col 31}{space 2} .0260647{col 42}{space 1}    1.94{col 51}{space 3}0.053{col 59}{space 4}-.0005958{col 72}{space 3} .1015761
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0401668{col 31}{space 2} .0278245{col 42}{space 1}    1.44{col 51}{space 3}0.149{col 59}{space 4}-.0143683{col 72}{space 3} .0947018
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0464376{col 31}{space 2} .0330127{col 42}{space 1}    1.41{col 51}{space 3}0.160{col 59}{space 4}-.0182662{col 72}{space 3} .1111414
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0133651{col 31}{space 2} .0213971{col 42}{space 1}    0.62{col 51}{space 3}0.532{col 59}{space 4}-.0285725{col 72}{space 3} .0553028
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0082811{col 31}{space 2}   .02094{col 42}{space 1}    0.40{col 51}{space 3}0.692{col 59}{space 4}-.0327605{col 72}{space 3} .0493228
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0180052{col 31}{space 2} .0233009{col 42}{space 1}   -0.77{col 51}{space 3}0.440{col 59}{space 4}-.0636742{col 72}{space 3} .0276638
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.0263002{col 31}{space 2} .0214194{col 42}{space 1}   -1.23{col 51}{space 3}0.219{col 59}{space 4}-.0682815{col 72}{space 3} .0156811
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0159962{col 31}{space 2} .0238793{col 42}{space 1}    0.67{col 51}{space 3}0.503{col 59}{space 4}-.0308063{col 72}{space 3} .0627987
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.0292721{col 31}{space 2} .0211379{col 42}{space 1}   -1.38{col 51}{space 3}0.166{col 59}{space 4}-.0707015{col 72}{space 3} .0121574
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0446817{col 31}{space 2} .0154567{col 42}{space 1}    2.89{col 51}{space 3}0.004{col 59}{space 4} .0143872{col 72}{space 3} .0749762
{txt}{space 14}29  {c |}{col 19}{res}{space 2}  .040168{col 31}{space 2} .0361311{col 42}{space 1}    1.11{col 51}{space 3}0.266{col 59}{space 4}-.0306477{col 72}{space 3} .1109837
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0490405{col 31}{space 2} .0235505{col 42}{space 1}    2.08{col 51}{space 3}0.037{col 59}{space 4} .0028824{col 72}{space 3} .0951985
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0640099{col 31}{space 2} .0430834{col 42}{space 1}    1.49{col 51}{space 3}0.137{col 59}{space 4}-.0204321{col 72}{space 3} .1484519
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0680345{col 31}{space 2} .0257393{col 42}{space 1}    2.64{col 51}{space 3}0.008{col 59}{space 4} .0175864{col 72}{space 3} .1184826
{txt}{space 14}33  {c |}{col 19}{res}{space 2}  .067479{col 31}{space 2} .0277809{col 42}{space 1}    2.43{col 51}{space 3}0.015{col 59}{space 4} .0130295{col 72}{space 3} .1219285
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0503389{col 31}{space 2} .0183868{col 42}{space 1}    2.74{col 51}{space 3}0.006{col 59}{space 4} .0143015{col 72}{space 3} .0863763
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0055991{col 31}{space 2} .0179172{col 42}{space 1}   -0.31{col 51}{space 3}0.755{col 59}{space 4}-.0407162{col 72}{space 3} .0295181
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0448696{col 31}{space 2} .0285345{col 42}{space 1}    1.57{col 51}{space 3}0.116{col 59}{space 4}-.0110569{col 72}{space 3} .1007961
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0168849{col 31}{space 2} .0191296{col 42}{space 1}    0.88{col 51}{space 3}0.377{col 59}{space 4}-.0206084{col 72}{space 3} .0543782
{txt}{space 14}38  {c |}{col 19}{res}{space 2}   .03068{col 31}{space 2} .0211603{col 42}{space 1}    1.45{col 51}{space 3}0.147{col 59}{space 4}-.0107934{col 72}{space 3} .0721535
{txt}{space 14}39  {c |}{col 19}{res}{space 2} .0224108{col 31}{space 2} .0206911{col 42}{space 1}    1.08{col 51}{space 3}0.279{col 59}{space 4} -.018143{col 72}{space 3} .0629645
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0434467{col 31}{space 2} .0160013{col 42}{space 1}    2.72{col 51}{space 3}0.007{col 59}{space 4} .0120847{col 72}{space 3} .0748087
{txt}{space 14}41  {c |}{col 19}{res}{space 2}-.0156548{col 31}{space 2} .0350566{col 42}{space 1}   -0.45{col 51}{space 3}0.655{col 59}{space 4}-.0843644{col 72}{space 3} .0530548
{txt}{space 14}42  {c |}{col 19}{res}{space 2} .0242511{col 31}{space 2} .0127971{col 42}{space 1}    1.90{col 51}{space 3}0.058{col 59}{space 4}-.0008309{col 72}{space 3}  .049333
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0656162{col 31}{space 2} .0196407{col 42}{space 1}    3.34{col 51}{space 3}0.001{col 59}{space 4}  .027121{col 72}{space 3} .1041114
{txt}{space 14}44  {c |}{col 19}{res}{space 2} .0030499{col 31}{space 2} .0208814{col 42}{space 1}    0.15{col 51}{space 3}0.884{col 59}{space 4}-.0378769{col 72}{space 3} .0439768
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0428718{col 31}{space 2} .0263326{col 42}{space 1}    1.63{col 51}{space 3}0.104{col 59}{space 4} -.008739{col 72}{space 3} .0944827
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0466356{col 31}{space 2} .0345971{col 42}{space 1}    1.35{col 51}{space 3}0.178{col 59}{space 4}-.0211735{col 72}{space 3} .1144448
{txt}{space 14}47  {c |}{col 19}{res}{space 2} -.024215{col 31}{space 2}  .026524{col 42}{space 1}   -0.91{col 51}{space 3}0.361{col 59}{space 4}-.0762011{col 72}{space 3} .0277711
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0497613{col 31}{space 2} .0197818{col 42}{space 1}   -2.52{col 51}{space 3}0.012{col 59}{space 4}-.0885329{col 72}{space 3}-.0109896
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0251523{col 31}{space 2} .0168047{col 42}{space 1}    1.50{col 51}{space 3}0.134{col 59}{space 4}-.0077844{col 72}{space 3} .0580889
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0175284{col 31}{space 2} .0157537{col 42}{space 1}   -1.11{col 51}{space 3}0.266{col 59}{space 4}-.0484051{col 72}{space 3} .0133483
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea6.xls, keep(l.ydiff b4.i.misalignment_scale_factor) append dec(2) pdec(3)
{txt}{browse `"tablea6.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea6.txt""':seeout}

{com}. 
. * Model 6
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor i.stateNumber if year > 1997 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       836
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.2137
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}28{txt}){col 67}= {res}    344.36
{txt}Estimated coefficients{col 28}= {res}       45{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0871099{col 31}{space 2} .0575896{col 42}{space 1}   -1.51{col 51}{space 3}0.130{col 59}{space 4}-.1999834{col 72}{space 3} .0257637
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0922181{col 31}{space 2} .0221729{col 42}{space 1}   -4.16{col 51}{space 3}0.000{col 59}{space 4}-.1356762{col 72}{space 3}-.0487601
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0528745{col 31}{space 2}  .010442{col 42}{space 1}   -5.06{col 51}{space 3}0.000{col 59}{space 4}-.0733404{col 72}{space 3}-.0324086
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0392988{col 31}{space 2} .0115332{col 42}{space 1}   -3.41{col 51}{space 3}0.001{col 59}{space 4}-.0619035{col 72}{space 3}-.0166942
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0210877{col 31}{space 2} .0226004{col 42}{space 1}    0.93{col 51}{space 3}0.351{col 59}{space 4}-.0232082{col 72}{space 3} .0653837
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0733845{col 31}{space 2}  .012059{col 42}{space 1}    6.09{col 51}{space 3}0.000{col 59}{space 4} .0497493{col 72}{space 3} .0970198
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0966477{col 31}{space 2} .0196788{col 42}{space 1}    4.91{col 51}{space 3}0.000{col 59}{space 4} .0580779{col 72}{space 3} .1352174
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2} .0315066{col 31}{space 2} .0228331{col 42}{space 1}    1.38{col 51}{space 3}0.168{col 59}{space 4}-.0132455{col 72}{space 3} .0762587
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0391146{col 31}{space 2} .0306462{col 42}{space 1}    1.28{col 51}{space 3}0.202{col 59}{space 4}-.0209508{col 72}{space 3} .0991801
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0496273{col 31}{space 2} .0212004{col 42}{space 1}    2.34{col 51}{space 3}0.019{col 59}{space 4} .0080752{col 72}{space 3} .0911793
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0495754{col 31}{space 2} .0241151{col 42}{space 1}    2.06{col 51}{space 3}0.040{col 59}{space 4} .0023106{col 72}{space 3} .0968402
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0449552{col 31}{space 2} .0282481{col 42}{space 1}    1.59{col 51}{space 3}0.112{col 59}{space 4}-.0104101{col 72}{space 3} .1003205
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0051616{col 31}{space 2} .0236912{col 42}{space 1}    0.22{col 51}{space 3}0.828{col 59}{space 4}-.0412723{col 72}{space 3} .0515955
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0064291{col 31}{space 2}  .027188{col 42}{space 1}    0.24{col 51}{space 3}0.813{col 59}{space 4}-.0468584{col 72}{space 3} .0597166
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0291605{col 31}{space 2} .0212273{col 42}{space 1}    1.37{col 51}{space 3}0.170{col 59}{space 4}-.0124443{col 72}{space 3} .0707652
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0340072{col 31}{space 2} .0266793{col 42}{space 1}    1.27{col 51}{space 3}0.202{col 59}{space 4}-.0182832{col 72}{space 3} .0862976
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0138816{col 31}{space 2} .0261679{col 42}{space 1}    0.53{col 51}{space 3}0.596{col 59}{space 4}-.0374064{col 72}{space 3} .0651697
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0236577{col 31}{space 2} .0207225{col 42}{space 1}    1.14{col 51}{space 3}0.254{col 59}{space 4}-.0169577{col 72}{space 3} .0642731
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0210143{col 31}{space 2} .0247476{col 42}{space 1}   -0.85{col 51}{space 3}0.396{col 59}{space 4}-.0695188{col 72}{space 3} .0274902
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0456916{col 31}{space 2} .0263317{col 42}{space 1}    1.74{col 51}{space 3}0.083{col 59}{space 4}-.0059175{col 72}{space 3} .0973007
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0326991{col 31}{space 2} .0279414{col 42}{space 1}    1.17{col 51}{space 3}0.242{col 59}{space 4}-.0220651{col 72}{space 3} .0874633
{txt}{space 14}21  {c |}{col 19}{res}{space 2}   .04037{col 31}{space 2} .0326559{col 42}{space 1}    1.24{col 51}{space 3}0.216{col 59}{space 4}-.0236342{col 72}{space 3} .1043743
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0140987{col 31}{space 2} .0212235{col 42}{space 1}    0.66{col 51}{space 3}0.506{col 59}{space 4}-.0274985{col 72}{space 3} .0556959
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0057098{col 31}{space 2} .0211261{col 42}{space 1}    0.27{col 51}{space 3}0.787{col 59}{space 4}-.0356966{col 72}{space 3} .0471163
{txt}{space 14}24  {c |}{col 19}{res}{space 2} -.020063{col 31}{space 2} .0231284{col 42}{space 1}   -0.87{col 51}{space 3}0.386{col 59}{space 4}-.0653939{col 72}{space 3} .0252679
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0157946{col 31}{space 2} .0238951{col 42}{space 1}    0.66{col 51}{space 3}0.509{col 59}{space 4}-.0310389{col 72}{space 3} .0626281
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0483289{col 31}{space 2} .0158637{col 42}{space 1}    3.05{col 51}{space 3}0.002{col 59}{space 4} .0172367{col 72}{space 3} .0794211
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0380065{col 31}{space 2} .0363912{col 42}{space 1}    1.04{col 51}{space 3}0.296{col 59}{space 4} -.033319{col 72}{space 3}  .109332
{txt}{space 14}30  {c |}{col 19}{res}{space 2}  .043567{col 31}{space 2} .0237917{col 42}{space 1}    1.83{col 51}{space 3}0.067{col 59}{space 4}-.0030638{col 72}{space 3} .0901978
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0576514{col 31}{space 2} .0428591{col 42}{space 1}    1.35{col 51}{space 3}0.179{col 59}{space 4} -.026351{col 72}{space 3} .1416538
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0665756{col 31}{space 2} .0259134{col 42}{space 1}    2.57{col 51}{space 3}0.010{col 59}{space 4} .0157863{col 72}{space 3} .1173649
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .0634462{col 31}{space 2} .0283209{col 42}{space 1}    2.24{col 51}{space 3}0.025{col 59}{space 4} .0079383{col 72}{space 3} .1189541
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0522108{col 31}{space 2}  .018526{col 42}{space 1}    2.82{col 51}{space 3}0.005{col 59}{space 4} .0159006{col 72}{space 3}  .088521
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0070943{col 31}{space 2} .0181779{col 42}{space 1}   -0.39{col 51}{space 3}0.696{col 59}{space 4}-.0427222{col 72}{space 3} .0285336
{txt}{space 14}36  {c |}{col 19}{res}{space 2}  .037942{col 31}{space 2} .0285924{col 42}{space 1}    1.33{col 51}{space 3}0.185{col 59}{space 4}-.0180982{col 72}{space 3} .0939822
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0171275{col 31}{space 2} .0190602{col 42}{space 1}    0.90{col 51}{space 3}0.369{col 59}{space 4}-.0202298{col 72}{space 3} .0544847
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0255881{col 31}{space 2} .0218203{col 42}{space 1}    1.17{col 51}{space 3}0.241{col 59}{space 4} -.017179{col 72}{space 3} .0683551
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0470765{col 31}{space 2} .0165222{col 42}{space 1}    2.85{col 51}{space 3}0.004{col 59}{space 4} .0146935{col 72}{space 3} .0794594
{txt}{space 14}43  {c |}{col 19}{res}{space 2}  .069347{col 31}{space 2} .0199875{col 42}{space 1}    3.47{col 51}{space 3}0.001{col 59}{space 4} .0301723{col 72}{space 3} .1085217
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0367803{col 31}{space 2} .0266927{col 42}{space 1}    1.38{col 51}{space 3}0.168{col 59}{space 4}-.0155364{col 72}{space 3}  .089097
{txt}{space 14}46  {c |}{col 19}{res}{space 2}  .037604{col 31}{space 2} .0349381{col 42}{space 1}    1.08{col 51}{space 3}0.282{col 59}{space 4}-.0308734{col 72}{space 3} .1060814
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0247959{col 31}{space 2} .0262963{col 42}{space 1}   -0.94{col 51}{space 3}0.346{col 59}{space 4}-.0763357{col 72}{space 3}  .026744
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0588099{col 31}{space 2}  .020935{col 42}{space 1}   -2.81{col 51}{space 3}0.005{col 59}{space 4}-.0998416{col 72}{space 3}-.0177781
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0263197{col 31}{space 2}  .016876{col 42}{space 1}    1.56{col 51}{space 3}0.119{col 59}{space 4}-.0067567{col 72}{space 3}  .059396
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0160004{col 31}{space 2} .0158942{col 42}{space 1}   -1.01{col 51}{space 3}0.314{col 59}{space 4}-.0471525{col 72}{space 3} .0151517
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea6.xls, keep(l.ydiff b4.i.misalignment_scale_factor) append dec(2) pdec(3)
{txt}{browse `"tablea6.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea6.txt""':seeout}

{com}. 
. 
. ****************************************************
. *
. * For Appendix: Caughey, Warshaw, and Xu (2017) approach
. *
. ****************************************************
. 
. 
. * Full panel (1976-2019)
. 
. * Model 1
. xtpcse pollib_median l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     2,205
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        45
{txt}{col 63}avg{col 67}= {res}        45
{txt}{col 63}max{col 67}= {res}        45
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.9931
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}57{txt}){col 67}= {res}   1867.80
{txt}Estimated coefficients{col 28}= {res}       62{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}    pollib_median{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}pollib_median {c |}
{space 14}L1. {c |}{col 19}{res}{space 2} .9522079{col 31}{space 2} .0099537{col 42}{space 1}   95.66{col 51}{space 3}0.000{col 59}{space 4} .9326989{col 72}{space 3} .9717168
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0679594{col 31}{space 2} .0165112{col 42}{space 1}   -4.12{col 51}{space 3}0.000{col 59}{space 4}-.1003207{col 72}{space 3} -.035598
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0350389{col 31}{space 2} .0071504{col 42}{space 1}   -4.90{col 51}{space 3}0.000{col 59}{space 4}-.0490534{col 72}{space 3}-.0210245
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.028803{col 31}{space 2} .0113856{col 42}{space 1}   -2.53{col 51}{space 3}0.011{col 59}{space 4}-.0511183{col 72}{space 3}-.0064877
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0030164{col 31}{space 2} .0100514{col 42}{space 1}    0.30{col 51}{space 3}0.764{col 59}{space 4}-.0166841{col 72}{space 3} .0227169
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0413387{col 31}{space 2} .0069495{col 42}{space 1}    5.95{col 51}{space 3}0.000{col 59}{space 4} .0277178{col 72}{space 3} .0549595
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0852512{col 31}{space 2} .0158614{col 42}{space 1}    5.37{col 51}{space 3}0.000{col 59}{space 4} .0541634{col 72}{space 3} .1163391
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0141499{col 31}{space 2} .0086636{col 42}{space 1}    1.63{col 51}{space 3}0.102{col 59}{space 4}-.0028304{col 72}{space 3} .0311303
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0031634{col 31}{space 2} .0081605{col 42}{space 1}   -0.39{col 51}{space 3}0.698{col 59}{space 4}-.0191577{col 72}{space 3} .0128309
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0008404{col 31}{space 2} .0002024{col 42}{space 1}    4.15{col 51}{space 3}0.000{col 59}{space 4} .0004438{col 72}{space 3} .0012371
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0076068{col 31}{space 2} .0050454{col 42}{space 1}    1.51{col 51}{space 3}0.132{col 59}{space 4} -.002282{col 72}{space 3} .0174956
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0010633{col 31}{space 2} .0003041{col 42}{space 1}    3.50{col 51}{space 3}0.000{col 59}{space 4} .0004672{col 72}{space 3} .0016594
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0014139{col 31}{space 2} .0014594{col 42}{space 1}    0.97{col 51}{space 3}0.333{col 59}{space 4}-.0014465{col 72}{space 3} .0042744
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.1132054{col 31}{space 2} .0337034{col 42}{space 1}   -3.36{col 51}{space 3}0.001{col 59}{space 4}-.1792628{col 72}{space 3} -.047148
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.109626{col 31}{space 2} .0302237{col 42}{space 1}   -3.63{col 51}{space 3}0.000{col 59}{space 4}-.1688634{col 72}{space 3}-.0503887
{txt}{space 15}4  {c |}{col 19}{res}{space 2} -.038978{col 31}{space 2} .0210643{col 42}{space 1}   -1.85{col 51}{space 3}0.064{col 59}{space 4}-.0802633{col 72}{space 3} .0023073
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0331273{col 31}{space 2} .0364446{col 42}{space 1}    0.91{col 51}{space 3}0.363{col 59}{space 4}-.0383029{col 72}{space 3} .1045575
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.0112514{col 31}{space 2} .0230457{col 42}{space 1}   -0.49{col 51}{space 3}0.625{col 59}{space 4}  -.05642{col 72}{space 3} .0339173
{txt}{space 15}7  {c |}{col 19}{res}{space 2}  .043247{col 31}{space 2} .0247637{col 42}{space 1}    1.75{col 51}{space 3}0.081{col 59}{space 4}-.0052891{col 72}{space 3}  .091783
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0063419{col 31}{space 2} .0224956{col 42}{space 1}    0.28{col 51}{space 3}0.778{col 59}{space 4}-.0377487{col 72}{space 3} .0504326
{txt}{space 15}9  {c |}{col 19}{res}{space 2}-.0461146{col 31}{space 2} .0261583{col 42}{space 1}   -1.76{col 51}{space 3}0.078{col 59}{space 4}-.0973839{col 72}{space 3} .0051547
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.1038911{col 31}{space 2} .0275316{col 42}{space 1}   -3.77{col 51}{space 3}0.000{col 59}{space 4}-.1578519{col 72}{space 3}-.0499302
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0109508{col 31}{space 2} .0265859{col 42}{space 1}   -0.41{col 51}{space 3}0.680{col 59}{space 4}-.0630582{col 72}{space 3} .0411567
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0233649{col 31}{space 2} .0241881{col 42}{space 1}    0.97{col 51}{space 3}0.334{col 59}{space 4}-.0240429{col 72}{space 3} .0707727
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0052024{col 31}{space 2} .0254148{col 42}{space 1}   -0.20{col 51}{space 3}0.838{col 59}{space 4}-.0550145{col 72}{space 3} .0446097
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0030914{col 31}{space 2} .0201952{col 42}{space 1}   -0.15{col 51}{space 3}0.878{col 59}{space 4}-.0426732{col 72}{space 3} .0364904
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0127517{col 31}{space 2} .0237795{col 42}{space 1}   -0.54{col 51}{space 3}0.592{col 59}{space 4}-.0593587{col 72}{space 3} .0338553
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0142525{col 31}{space 2}  .021867{col 42}{space 1}   -0.65{col 51}{space 3}0.515{col 59}{space 4} -.057111{col 72}{space 3}  .028606
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0680124{col 31}{space 2} .0243678{col 42}{space 1}   -2.79{col 51}{space 3}0.005{col 59}{space 4}-.1157724{col 72}{space 3}-.0202523
{txt}{space 14}18  {c |}{col 19}{res}{space 2} -.071936{col 31}{space 2} .0279629{col 42}{space 1}   -2.57{col 51}{space 3}0.010{col 59}{space 4}-.1267423{col 72}{space 3}-.0171298
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0138718{col 31}{space 2} .0280268{col 42}{space 1}   -0.49{col 51}{space 3}0.621{col 59}{space 4}-.0688034{col 72}{space 3} .0410598
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0004795{col 31}{space 2} .0276864{col 42}{space 1}    0.02{col 51}{space 3}0.986{col 59}{space 4}-.0537849{col 72}{space 3} .0547439
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0322394{col 31}{space 2} .0276741{col 42}{space 1}    1.16{col 51}{space 3}0.244{col 59}{space 4}-.0220008{col 72}{space 3} .0864795
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0431369{col 31}{space 2} .0201903{col 42}{space 1}   -2.14{col 51}{space 3}0.033{col 59}{space 4}-.0827092{col 72}{space 3}-.0035646
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0245414{col 31}{space 2}  .026444{col 42}{space 1}    0.93{col 51}{space 3}0.353{col 59}{space 4} -.027288{col 72}{space 3} .0763708
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0628793{col 31}{space 2} .0242165{col 42}{space 1}   -2.60{col 51}{space 3}0.009{col 59}{space 4}-.1103427{col 72}{space 3}-.0154159
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.1224689{col 31}{space 2} .0308765{col 42}{space 1}   -3.97{col 51}{space 3}0.000{col 59}{space 4}-.1829857{col 72}{space 3}-.0619521
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0208751{col 31}{space 2} .0245855{col 42}{space 1}    0.85{col 51}{space 3}0.396{col 59}{space 4}-.0273115{col 72}{space 3} .0690617
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.1000082{col 31}{space 2} .0259317{col 42}{space 1}   -3.86{col 51}{space 3}0.000{col 59}{space 4}-.1508334{col 72}{space 3}-.0491831
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0392605{col 31}{space 2} .0237017{col 42}{space 1}   -1.66{col 51}{space 3}0.098{col 59}{space 4} -.085715{col 72}{space 3}  .007194
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0447686{col 31}{space 2} .0288448{col 42}{space 1}    1.55{col 51}{space 3}0.121{col 59}{space 4}-.0117662{col 72}{space 3} .1013034
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0717474{col 31}{space 2} .0273781{col 42}{space 1}    2.62{col 51}{space 3}0.009{col 59}{space 4} .0180872{col 72}{space 3} .1254076
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0311573{col 31}{space 2} .0301668{col 42}{space 1}    1.03{col 51}{space 3}0.302{col 59}{space 4}-.0279685{col 72}{space 3} .0902832
{txt}{space 14}32  {c |}{col 19}{res}{space 2} -.000747{col 31}{space 2} .0236976{col 42}{space 1}   -0.03{col 51}{space 3}0.975{col 59}{space 4}-.0471933{col 72}{space 3} .0456994
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .0197146{col 31}{space 2} .0277759{col 42}{space 1}    0.71{col 51}{space 3}0.478{col 59}{space 4}-.0347252{col 72}{space 3} .0741544
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0209595{col 31}{space 2}   .02009{col 42}{space 1}   -1.04{col 51}{space 3}0.297{col 59}{space 4}-.0603352{col 72}{space 3} .0184161
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0521151{col 31}{space 2} .0233322{col 42}{space 1}   -2.23{col 51}{space 3}0.026{col 59}{space 4}-.0978453{col 72}{space 3}-.0063849
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0312503{col 31}{space 2} .0246867{col 42}{space 1}    1.27{col 51}{space 3}0.206{col 59}{space 4}-.0171347{col 72}{space 3} .0796353
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0367678{col 31}{space 2} .0173578{col 42}{space 1}   -2.12{col 51}{space 3}0.034{col 59}{space 4}-.0707884{col 72}{space 3}-.0027471
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0107511{col 31}{space 2} .0277279{col 42}{space 1}    0.39{col 51}{space 3}0.698{col 59}{space 4}-.0435945{col 72}{space 3} .0650968
{txt}{space 14}39  {c |}{col 19}{res}{space 2}-.0889707{col 31}{space 2} .0271188{col 42}{space 1}   -3.28{col 51}{space 3}0.001{col 59}{space 4}-.1421226{col 72}{space 3}-.0358188
{txt}{space 14}40  {c |}{col 19}{res}{space 2} -.022097{col 31}{space 2} .0224374{col 42}{space 1}   -0.98{col 51}{space 3}0.325{col 59}{space 4}-.0660734{col 72}{space 3} .0218794
{txt}{space 14}41  {c |}{col 19}{res}{space 2} -.059152{col 31}{space 2}  .028786{col 42}{space 1}   -2.05{col 51}{space 3}0.040{col 59}{space 4}-.1155715{col 72}{space 3}-.0027326
{txt}{space 14}42  {c |}{col 19}{res}{space 2}-.0469051{col 31}{space 2} .0233644{col 42}{space 1}   -2.01{col 51}{space 3}0.045{col 59}{space 4}-.0926985{col 72}{space 3}-.0011117
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0182082{col 31}{space 2} .0241885{col 42}{space 1}    0.75{col 51}{space 3}0.452{col 59}{space 4}-.0292004{col 72}{space 3} .0656167
{txt}{space 14}44  {c |}{col 19}{res}{space 2} -.049351{col 31}{space 2} .0298134{col 42}{space 1}   -1.66{col 51}{space 3}0.098{col 59}{space 4}-.1077841{col 72}{space 3} .0090821
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0411508{col 31}{space 2} .0268674{col 42}{space 1}    1.53{col 51}{space 3}0.126{col 59}{space 4}-.0115084{col 72}{space 3}   .09381
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0277122{col 31}{space 2} .0262547{col 42}{space 1}    1.06{col 51}{space 3}0.291{col 59}{space 4}-.0237461{col 72}{space 3} .0791704
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0190026{col 31}{space 2} .0224581{col 42}{space 1}   -0.85{col 51}{space 3}0.397{col 59}{space 4}-.0630198{col 72}{space 3} .0250145
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0724563{col 31}{space 2} .0243251{col 42}{space 1}   -2.98{col 51}{space 3}0.003{col 59}{space 4}-.1201326{col 72}{space 3}-.0247799
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0033697{col 31}{space 2} .0240897{col 42}{space 1}   -0.14{col 51}{space 3}0.889{col 59}{space 4}-.0505845{col 72}{space 3} .0438452
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0324076{col 31}{space 2} .0224568{col 42}{space 1}   -1.44{col 51}{space 3}0.149{col 59}{space 4} -.076422{col 72}{space 3} .0116069
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea7.xls, keep(l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) replace dec(2) pdec(3)
{txt}{browse `"tablea7.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea7.txt""':seeout}

{com}. 
. * Model 2
. xtpcse pollib_median l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if south == 0 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,710
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        45
{txt}{col 63}avg{col 67}= {res}        45
{txt}{col 63}max{col 67}= {res}        45
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.9907
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}50{txt}){col 67}= {res}1083524.80
{txt}Estimated coefficients{col 28}= {res}       51{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}    pollib_median{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}pollib_median {c |}
{space 14}L1. {c |}{col 19}{res}{space 2} .9572411{col 31}{space 2} .0101984{col 42}{space 1}   93.86{col 51}{space 3}0.000{col 59}{space 4} .9372525{col 72}{space 3} .9772297
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0689333{col 31}{space 2} .0188569{col 42}{space 1}   -3.66{col 51}{space 3}0.000{col 59}{space 4}-.1058921{col 72}{space 3}-.0319745
{txt}{space 15}2  {c |}{col 19}{res}{space 2} -.029988{col 31}{space 2} .0078502{col 42}{space 1}   -3.82{col 51}{space 3}0.000{col 59}{space 4} -.045374{col 72}{space 3}-.0146019
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0267334{col 31}{space 2} .0129804{col 42}{space 1}   -2.06{col 51}{space 3}0.039{col 59}{space 4}-.0521746{col 72}{space 3}-.0012923
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0020105{col 31}{space 2} .0121491{col 42}{space 1}   -0.17{col 51}{space 3}0.869{col 59}{space 4}-.0258222{col 72}{space 3} .0218013
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0386012{col 31}{space 2} .0086231{col 42}{space 1}    4.48{col 51}{space 3}0.000{col 59}{space 4} .0217003{col 72}{space 3} .0555021
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0977922{col 31}{space 2} .0181283{col 42}{space 1}    5.39{col 51}{space 3}0.000{col 59}{space 4} .0622614{col 72}{space 3} .1333229
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0117164{col 31}{space 2} .0125868{col 42}{space 1}    0.93{col 51}{space 3}0.352{col 59}{space 4}-.0129533{col 72}{space 3} .0363861
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0009106{col 31}{space 2} .0086506{col 42}{space 1}    0.11{col 51}{space 3}0.916{col 59}{space 4}-.0160443{col 72}{space 3} .0178654
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0010237{col 31}{space 2} .0002374{col 42}{space 1}    4.31{col 51}{space 3}0.000{col 59}{space 4} .0005584{col 72}{space 3} .0014889
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0045397{col 31}{space 2} .0054772{col 42}{space 1}    0.83{col 51}{space 3}0.407{col 59}{space 4}-.0061954{col 72}{space 3} .0152747
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}  .001126{col 31}{space 2} .0003562{col 42}{space 1}    3.16{col 51}{space 3}0.002{col 59}{space 4} .0004279{col 72}{space 3}  .001824
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2}-.0000114{col 31}{space 2} .0015724{col 42}{space 1}   -0.01{col 51}{space 3}0.994{col 59}{space 4}-.0030933{col 72}{space 3} .0030704
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2}-.0379039{col 31}{space 2} .0213307{col 42}{space 1}   -1.78{col 51}{space 3}0.076{col 59}{space 4}-.0797113{col 72}{space 3} .0039034
{txt}{space 15}5  {c |}{col 19}{res}{space 2}  .036561{col 31}{space 2} .0375062{col 42}{space 1}    0.97{col 51}{space 3}0.330{col 59}{space 4}-.0369499{col 72}{space 3} .1100718
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.0140805{col 31}{space 2} .0234922{col 42}{space 1}   -0.60{col 51}{space 3}0.549{col 59}{space 4}-.0601244{col 72}{space 3} .0319634
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0303236{col 31}{space 2} .0253049{col 42}{space 1}    1.20{col 51}{space 3}0.231{col 59}{space 4}-.0192731{col 72}{space 3} .0799202
{txt}{space 15}8  {c |}{col 19}{res}{space 2}-.0038854{col 31}{space 2} .0230993{col 42}{space 1}   -0.17{col 51}{space 3}0.866{col 59}{space 4}-.0491592{col 72}{space 3} .0413885
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0238391{col 31}{space 2} .0270402{col 42}{space 1}   -0.88{col 51}{space 3}0.378{col 59}{space 4}-.0768368{col 72}{space 3} .0291587
{txt}{space 14}12  {c |}{col 19}{res}{space 2}   .01402{col 31}{space 2} .0247712{col 42}{space 1}    0.57{col 51}{space 3}0.571{col 59}{space 4}-.0345307{col 72}{space 3} .0625707
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0069974{col 31}{space 2}  .025797{col 42}{space 1}   -0.27{col 51}{space 3}0.786{col 59}{space 4}-.0575585{col 72}{space 3} .0435638
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0108231{col 31}{space 2} .0202916{col 42}{space 1}   -0.53{col 51}{space 3}0.594{col 59}{space 4} -.050594{col 72}{space 3} .0289477
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0200793{col 31}{space 2}  .024233{col 42}{space 1}   -0.83{col 51}{space 3}0.407{col 59}{space 4} -.067575{col 72}{space 3} .0274165
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0183049{col 31}{space 2} .0222896{col 42}{space 1}   -0.82{col 51}{space 3}0.412{col 59}{space 4}-.0619917{col 72}{space 3}  .025382
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0687271{col 31}{space 2} .0256648{col 42}{space 1}   -2.68{col 51}{space 3}0.007{col 59}{space 4}-.1190292{col 72}{space 3}-.0184251
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0229636{col 31}{space 2} .0283154{col 42}{space 1}   -0.81{col 51}{space 3}0.417{col 59}{space 4}-.0784607{col 72}{space 3} .0325336
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0083201{col 31}{space 2} .0284499{col 42}{space 1}   -0.29{col 51}{space 3}0.770{col 59}{space 4}-.0640809{col 72}{space 3} .0474406
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0171829{col 31}{space 2} .0283839{col 42}{space 1}    0.61{col 51}{space 3}0.545{col 59}{space 4}-.0384486{col 72}{space 3} .0728143
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0449938{col 31}{space 2} .0207023{col 42}{space 1}   -2.17{col 51}{space 3}0.030{col 59}{space 4}-.0855696{col 72}{space 3}-.0044181
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0123429{col 31}{space 2} .0269527{col 42}{space 1}    0.46{col 51}{space 3}0.647{col 59}{space 4}-.0404834{col 72}{space 3} .0651691
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0639369{col 31}{space 2} .0246294{col 42}{space 1}   -2.60{col 51}{space 3}0.009{col 59}{space 4}-.1122096{col 72}{space 3}-.0156642
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0116266{col 31}{space 2} .0253032{col 42}{space 1}    0.46{col 51}{space 3}0.646{col 59}{space 4}-.0379667{col 72}{space 3}   .06122
{txt}{space 14}28  {c |}{col 19}{res}{space 2} -.043836{col 31}{space 2} .0247083{col 42}{space 1}   -1.77{col 51}{space 3}0.076{col 59}{space 4}-.0922634{col 72}{space 3} .0045914
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0324772{col 31}{space 2} .0296561{col 42}{space 1}    1.10{col 51}{space 3}0.273{col 59}{space 4}-.0256477{col 72}{space 3} .0906021
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0555966{col 31}{space 2} .0276708{col 42}{space 1}    2.01{col 51}{space 3}0.045{col 59}{space 4} .0013627{col 72}{space 3} .1098305
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0198009{col 31}{space 2} .0307197{col 42}{space 1}    0.64{col 51}{space 3}0.519{col 59}{space 4}-.0404086{col 72}{space 3} .0800104
{txt}{space 14}32  {c |}{col 19}{res}{space 2}-.0046628{col 31}{space 2}  .024106{col 42}{space 1}   -0.19{col 51}{space 3}0.847{col 59}{space 4}-.0519097{col 72}{space 3} .0425841
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .0140626{col 31}{space 2} .0281442{col 42}{space 1}    0.50{col 51}{space 3}0.617{col 59}{space 4} -.041099{col 72}{space 3} .0692242
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0247744{col 31}{space 2} .0203444{col 42}{space 1}   -1.22{col 51}{space 3}0.223{col 59}{space 4}-.0646486{col 72}{space 3} .0150999
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0475061{col 31}{space 2} .0241634{col 42}{space 1}   -1.97{col 51}{space 3}0.049{col 59}{space 4}-.0948656{col 72}{space 3}-.0001466
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0184204{col 31}{space 2} .0253528{col 42}{space 1}    0.73{col 51}{space 3}0.467{col 59}{space 4}-.0312701{col 72}{space 3}  .068111
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0400737{col 31}{space 2} .0178639{col 42}{space 1}   -2.24{col 51}{space 3}0.025{col 59}{space 4}-.0750864{col 72}{space 3} -.005061
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0070876{col 31}{space 2} .0284478{col 42}{space 1}   -0.25{col 51}{space 3}0.803{col 59}{space 4}-.0628442{col 72}{space 3}  .048669
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.0308115{col 31}{space 2}  .023419{col 42}{space 1}   -1.32{col 51}{space 3}0.188{col 59}{space 4}-.0767119{col 72}{space 3}  .015089
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0152227{col 31}{space 2} .0247551{col 42}{space 1}    0.61{col 51}{space 3}0.539{col 59}{space 4}-.0332964{col 72}{space 3} .0637418
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0236571{col 31}{space 2} .0280733{col 42}{space 1}    0.84{col 51}{space 3}0.399{col 59}{space 4}-.0313656{col 72}{space 3} .0786798
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0168512{col 31}{space 2} .0264373{col 42}{space 1}    0.64{col 51}{space 3}0.524{col 59}{space 4} -.034965{col 72}{space 3} .0686675
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0249868{col 31}{space 2} .0227887{col 42}{space 1}   -1.10{col 51}{space 3}0.273{col 59}{space 4}-.0696518{col 72}{space 3} .0196781
{txt}{space 14}48  {c |}{col 19}{res}{space 2} -.077603{col 31}{space 2} .0259004{col 42}{space 1}   -3.00{col 51}{space 3}0.003{col 59}{space 4}-.1283668{col 72}{space 3}-.0268392
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0060543{col 31}{space 2}  .024743{col 42}{space 1}   -0.24{col 51}{space 3}0.807{col 59}{space 4}-.0545496{col 72}{space 3}  .042441
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0301319{col 31}{space 2} .0243424{col 42}{space 1}   -1.24{col 51}{space 3}0.216{col 59}{space 4}-.0778422{col 72}{space 3} .0175784
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea7.xls, keep(l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea7.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea7.txt""':seeout}

{com}. 
. * Early period (1976-1997)
. 
. * Model 3
. xtpcse pollib_median l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year < 1998 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,127
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        23
{txt}{col 63}avg{col 67}= {res}        23
{txt}{col 63}max{col 67}= {res}        23
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.9899
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}33{txt}){col 67}= {res}    418.30
{txt}Estimated coefficients{col 28}= {res}       60{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}    pollib_median{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}pollib_median {c |}
{space 14}L1. {c |}{col 19}{res}{space 2} .8418972{col 31}{space 2}  .029487{col 42}{space 1}   28.55{col 51}{space 3}0.000{col 59}{space 4} .7841037{col 72}{space 3} .8996906
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0678831{col 31}{space 2} .0231713{col 42}{space 1}   -2.93{col 51}{space 3}0.003{col 59}{space 4} -.113298{col 72}{space 3}-.0224682
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0201435{col 31}{space 2} .0120768{col 42}{space 1}   -1.67{col 51}{space 3}0.095{col 59}{space 4}-.0438135{col 72}{space 3} .0035266
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0029449{col 31}{space 2} .0123069{col 42}{space 1}    0.24{col 51}{space 3}0.811{col 59}{space 4}-.0211762{col 72}{space 3}  .027066
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0185413{col 31}{space 2} .0098883{col 42}{space 1}    1.88{col 51}{space 3}0.061{col 59}{space 4}-.0008395{col 72}{space 3} .0379221
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0102021{col 31}{space 2} .0139953{col 42}{space 1}    0.73{col 51}{space 3}0.466{col 59}{space 4}-.0172282{col 72}{space 3} .0376324
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0048506{col 31}{space 2} .0158096{col 42}{space 1}    0.31{col 51}{space 3}0.759{col 59}{space 4}-.0261357{col 72}{space 3} .0358369
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0004299{col 31}{space 2} .0002427{col 42}{space 1}    1.77{col 51}{space 3}0.077{col 59}{space 4}-.0000458{col 72}{space 3} .0009055
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0180812{col 31}{space 2} .0079074{col 42}{space 1}    2.29{col 51}{space 3}0.022{col 59}{space 4} .0025829{col 72}{space 3} .0335795
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0012351{col 31}{space 2} .0004262{col 42}{space 1}    2.90{col 51}{space 3}0.004{col 59}{space 4} .0003997{col 72}{space 3} .0020705
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0010567{col 31}{space 2} .0014773{col 42}{space 1}    0.72{col 51}{space 3}0.474{col 59}{space 4}-.0018387{col 72}{space 3} .0039522
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.3336185{col 31}{space 2} .0783509{col 42}{space 1}   -4.26{col 51}{space 3}0.000{col 59}{space 4}-.4871835{col 72}{space 3}-.1800536
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.2970792{col 31}{space 2} .0690897{col 42}{space 1}   -4.30{col 51}{space 3}0.000{col 59}{space 4}-.4324926{col 72}{space 3}-.1616659
{txt}{space 15}4  {c |}{col 19}{res}{space 2}-.1641361{col 31}{space 2} .0435863{col 42}{space 1}   -3.77{col 51}{space 3}0.000{col 59}{space 4}-.2495636{col 72}{space 3}-.0787086
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0534375{col 31}{space 2} .0508511{col 42}{space 1}    1.05{col 51}{space 3}0.293{col 59}{space 4}-.0462288{col 72}{space 3} .1531038
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.1011411{col 31}{space 2} .0376124{col 42}{space 1}   -2.69{col 51}{space 3}0.007{col 59}{space 4}  -.17486{col 72}{space 3}-.0274223
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0723994{col 31}{space 2} .0369595{col 42}{space 1}    1.96{col 51}{space 3}0.050{col 59}{space 4}-.0000399{col 72}{space 3} .1448388
{txt}{space 15}8  {c |}{col 19}{res}{space 2}-.0149203{col 31}{space 2} .0296344{col 42}{space 1}   -0.50{col 51}{space 3}0.615{col 59}{space 4}-.0730026{col 72}{space 3}  .043162
{txt}{space 15}9  {c |}{col 19}{res}{space 2}-.1820854{col 31}{space 2} .0583171{col 42}{space 1}   -3.12{col 51}{space 3}0.002{col 59}{space 4}-.2963848{col 72}{space 3}-.0677861
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.2677616{col 31}{space 2} .0626351{col 42}{space 1}   -4.27{col 51}{space 3}0.000{col 59}{space 4}-.3905243{col 72}{space 3} -.144999
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0935546{col 31}{space 2} .0479614{col 42}{space 1}    1.95{col 51}{space 3}0.051{col 59}{space 4} -.000448{col 72}{space 3} .1875572
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0377335{col 31}{space 2} .0362443{col 42}{space 1}    1.04{col 51}{space 3}0.298{col 59}{space 4} -.033304{col 72}{space 3}  .108771
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.1060495{col 31}{space 2} .0485805{col 42}{space 1}   -2.18{col 51}{space 3}0.029{col 59}{space 4}-.2012656{col 72}{space 3}-.0108333
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0359007{col 31}{space 2} .0237747{col 42}{space 1}   -1.51{col 51}{space 3}0.131{col 59}{space 4}-.0824983{col 72}{space 3} .0106969
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0761599{col 31}{space 2} .0402731{col 42}{space 1}   -1.89{col 51}{space 3}0.059{col 59}{space 4}-.1550937{col 72}{space 3}  .002774
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.1059273{col 31}{space 2} .0418827{col 42}{space 1}   -2.53{col 51}{space 3}0.011{col 59}{space 4}-.1880159{col 72}{space 3}-.0238388
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.1433439{col 31}{space 2} .0459981{col 42}{space 1}   -3.12{col 51}{space 3}0.002{col 59}{space 4}-.2334984{col 72}{space 3}-.0531893
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.2306271{col 31}{space 2} .0638813{col 42}{space 1}   -3.61{col 51}{space 3}0.000{col 59}{space 4}-.3558322{col 72}{space 3} -.105422
{txt}{space 14}19  {c |}{col 19}{res}{space 2}  .031535{col 31}{space 2} .0445595{col 42}{space 1}    0.71{col 51}{space 3}0.479{col 59}{space 4}-.0557999{col 72}{space 3} .1188699
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0097663{col 31}{space 2} .0413092{col 42}{space 1}    0.24{col 51}{space 3}0.813{col 59}{space 4}-.0711983{col 72}{space 3} .0907308
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0409998{col 31}{space 2} .0380095{col 42}{space 1}    1.08{col 51}{space 3}0.281{col 59}{space 4}-.0334973{col 72}{space 3}  .115497
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0489223{col 31}{space 2} .0309601{col 42}{space 1}   -1.58{col 51}{space 3}0.114{col 59}{space 4} -.109603{col 72}{space 3} .0117583
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0739277{col 31}{space 2} .0450659{col 42}{space 1}    1.64{col 51}{space 3}0.101{col 59}{space 4}-.0143998{col 72}{space 3} .1622552
{txt}{space 14}24  {c |}{col 19}{res}{space 2} -.140758{col 31}{space 2} .0443357{col 42}{space 1}   -3.17{col 51}{space 3}0.001{col 59}{space 4}-.2276544{col 72}{space 3}-.0538616
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.3274208{col 31}{space 2} .0753514{col 42}{space 1}   -4.35{col 51}{space 3}0.000{col 59}{space 4}-.4751068{col 72}{space 3}-.1797348
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0197949{col 31}{space 2} .0400173{col 42}{space 1}    0.49{col 51}{space 3}0.621{col 59}{space 4}-.0586376{col 72}{space 3} .0982273
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.2403165{col 31}{space 2} .0580464{col 42}{space 1}   -4.14{col 51}{space 3}0.000{col 59}{space 4}-.3540854{col 72}{space 3}-.1265476
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.1959918{col 31}{space 2} .0522669{col 42}{space 1}   -3.75{col 51}{space 3}0.000{col 59}{space 4}-.2984331{col 72}{space 3}-.0935505
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0046629{col 31}{space 2} .0429667{col 42}{space 1}    0.11{col 51}{space 3}0.914{col 59}{space 4}-.0795503{col 72}{space 3}  .088876
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .1779572{col 31}{space 2} .0494484{col 42}{space 1}    3.60{col 51}{space 3}0.000{col 59}{space 4}   .08104{col 72}{space 3} .2748743
{txt}{space 14}31  {c |}{col 19}{res}{space 2}-.0223888{col 31}{space 2} .0383465{col 42}{space 1}   -0.58{col 51}{space 3}0.559{col 59}{space 4}-.0975465{col 72}{space 3}  .052769
{txt}{space 14}32  {c |}{col 19}{res}{space 2}-.1224872{col 31}{space 2} .0443198{col 42}{space 1}   -2.76{col 51}{space 3}0.006{col 59}{space 4}-.2093524{col 72}{space 3}-.0356219
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .0651322{col 31}{space 2} .0420051{col 42}{space 1}    1.55{col 51}{space 3}0.121{col 59}{space 4}-.0171963{col 72}{space 3} .1474606
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0868813{col 31}{space 2} .0343891{col 42}{space 1}   -2.53{col 51}{space 3}0.012{col 59}{space 4}-.1542827{col 72}{space 3}-.0194799
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.1447347{col 31}{space 2} .0440206{col 42}{space 1}   -3.29{col 51}{space 3}0.001{col 59}{space 4}-.2310135{col 72}{space 3}-.0584559
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0540444{col 31}{space 2} .0350766{col 42}{space 1}    1.54{col 51}{space 3}0.123{col 59}{space 4}-.0147046{col 72}{space 3} .1227933
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0376971{col 31}{space 2} .0252582{col 42}{space 1}   -1.49{col 51}{space 3}0.136{col 59}{space 4}-.0872024{col 72}{space 3} .0118081
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .1189972{col 31}{space 2} .0498239{col 42}{space 1}    2.39{col 51}{space 3}0.017{col 59}{space 4} .0213443{col 72}{space 3} .2166502
{txt}{space 14}39  {c |}{col 19}{res}{space 2}-.2871002{col 31}{space 2} .0625189{col 42}{space 1}   -4.59{col 51}{space 3}0.000{col 59}{space 4} -.409635{col 72}{space 3}-.1645654
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.1439644{col 31}{space 2} .0449525{col 42}{space 1}   -3.20{col 51}{space 3}0.001{col 59}{space 4}-.2320697{col 72}{space 3}-.0558592
{txt}{space 14}41  {c |}{col 19}{res}{space 2}-.1500106{col 31}{space 2} .0508797{col 42}{space 1}   -2.95{col 51}{space 3}0.003{col 59}{space 4}-.2497329{col 72}{space 3}-.0502883
{txt}{space 14}42  {c |}{col 19}{res}{space 2}-.1772504{col 31}{space 2} .0539252{col 42}{space 1}   -3.29{col 51}{space 3}0.001{col 59}{space 4}-.2829418{col 72}{space 3} -.071559
{txt}{space 14}43  {c |}{col 19}{res}{space 2}-.1154528{col 31}{space 2} .0479302{col 42}{space 1}   -2.41{col 51}{space 3}0.016{col 59}{space 4}-.2093943{col 72}{space 3}-.0215112
{txt}{space 14}44  {c |}{col 19}{res}{space 2}-.1661203{col 31}{space 2} .0628425{col 42}{space 1}   -2.64{col 51}{space 3}0.008{col 59}{space 4}-.2892892{col 72}{space 3}-.0429513
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0784803{col 31}{space 2} .0395941{col 42}{space 1}    1.98{col 51}{space 3}0.047{col 59}{space 4} .0008774{col 72}{space 3} .1560833
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0249613{col 31}{space 2} .0353912{col 42}{space 1}    0.71{col 51}{space 3}0.481{col 59}{space 4}-.0444042{col 72}{space 3} .0943268
{txt}{space 14}47  {c |}{col 19}{res}{space 2} .0429225{col 31}{space 2} .0346627{col 42}{space 1}    1.24{col 51}{space 3}0.216{col 59}{space 4}-.0250151{col 72}{space 3}   .11086
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0781541{col 31}{space 2} .0423549{col 42}{space 1}   -1.85{col 51}{space 3}0.065{col 59}{space 4}-.1611682{col 72}{space 3} .0048599
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.1204377{col 31}{space 2} .0487524{col 42}{space 1}   -2.47{col 51}{space 3}0.013{col 59}{space 4}-.2159907{col 72}{space 3}-.0248846
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0147589{col 31}{space 2} .0372365{col 42}{space 1}    0.40{col 51}{space 3}0.692{col 59}{space 4}-.0582234{col 72}{space 3} .0877411
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea7.xls, keep(l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea7.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea7.txt""':seeout}

{com}. 
. * Model 4
. xtpcse pollib_median l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year < 1998 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       874
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        23
{txt}{col 63}avg{col 67}= {res}        23
{txt}{col 63}max{col 67}= {res}        23
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.9856
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}33{txt}){col 67}= {res}    347.48
{txt}Estimated coefficients{col 28}= {res}       49{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}    pollib_median{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}pollib_median {c |}
{space 14}L1. {c |}{col 19}{res}{space 2} .8508302{col 31}{space 2} .0299017{col 42}{space 1}   28.45{col 51}{space 3}0.000{col 59}{space 4}  .792224{col 72}{space 3} .9094363
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0696329{col 31}{space 2} .0234638{col 42}{space 1}   -2.97{col 51}{space 3}0.003{col 59}{space 4}-.1156212{col 72}{space 3}-.0236447
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0205128{col 31}{space 2} .0116949{col 42}{space 1}   -1.75{col 51}{space 3}0.079{col 59}{space 4}-.0434344{col 72}{space 3} .0024088
{txt}{space 15}5  {c |}{col 19}{res}{space 2} -.016569{col 31}{space 2} .0149588{col 42}{space 1}   -1.11{col 51}{space 3}0.268{col 59}{space 4}-.0458876{col 72}{space 3} .0127497
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0006438{col 31}{space 2} .0121284{col 42}{space 1}    0.05{col 51}{space 3}0.958{col 59}{space 4}-.0231275{col 72}{space 3}  .024415
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0327822{col 31}{space 2} .0160497{col 42}{space 1}    2.04{col 51}{space 3}0.041{col 59}{space 4} .0013253{col 72}{space 3} .0642391
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0042174{col 31}{space 2} .0158163{col 42}{space 1}    0.27{col 51}{space 3}0.790{col 59}{space 4}-.0267819{col 72}{space 3} .0352168
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0005311{col 31}{space 2} .0003053{col 42}{space 1}    1.74{col 51}{space 3}0.082{col 59}{space 4}-.0000673{col 72}{space 3} .0011294
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0097316{col 31}{space 2} .0084424{col 42}{space 1}    1.15{col 51}{space 3}0.249{col 59}{space 4}-.0068151{col 72}{space 3} .0262784
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0010481{col 31}{space 2} .0004709{col 42}{space 1}    2.23{col 51}{space 3}0.026{col 59}{space 4}  .000125{col 72}{space 3} .0019711
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2}-.0008043{col 31}{space 2} .0015382{col 42}{space 1}   -0.52{col 51}{space 3}0.601{col 59}{space 4}-.0038192{col 72}{space 3} .0022105
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2}-.1644399{col 31}{space 2} .0434068{col 42}{space 1}   -3.79{col 51}{space 3}0.000{col 59}{space 4}-.2495156{col 72}{space 3}-.0793642
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0856727{col 31}{space 2} .0519831{col 42}{space 1}    1.65{col 51}{space 3}0.099{col 59}{space 4}-.0162123{col 72}{space 3} .1875578
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.1062151{col 31}{space 2} .0379484{col 42}{space 1}   -2.80{col 51}{space 3}0.005{col 59}{space 4}-.1805926{col 72}{space 3}-.0318375
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0674906{col 31}{space 2} .0376134{col 42}{space 1}    1.79{col 51}{space 3}0.073{col 59}{space 4}-.0062304{col 72}{space 3} .1412116
{txt}{space 15}8  {c |}{col 19}{res}{space 2}-.0332649{col 31}{space 2} .0300558{col 42}{space 1}   -1.11{col 51}{space 3}0.268{col 59}{space 4}-.0921732{col 72}{space 3} .0256434
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0730068{col 31}{space 2} .0484351{col 42}{space 1}    1.51{col 51}{space 3}0.132{col 59}{space 4}-.0219243{col 72}{space 3} .1679379
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0234969{col 31}{space 2} .0370642{col 42}{space 1}    0.63{col 51}{space 3}0.526{col 59}{space 4}-.0491477{col 72}{space 3} .0961415
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.1210905{col 31}{space 2} .0484174{col 42}{space 1}   -2.50{col 51}{space 3}0.012{col 59}{space 4}-.2159868{col 72}{space 3}-.0261942
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0368115{col 31}{space 2}  .024042{col 42}{space 1}   -1.53{col 51}{space 3}0.126{col 59}{space 4} -.083933{col 72}{space 3} .0103101
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0900436{col 31}{space 2} .0406025{col 42}{space 1}   -2.22{col 51}{space 3}0.027{col 59}{space 4} -.169623{col 72}{space 3}-.0104642
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.1197429{col 31}{space 2}  .041665{col 42}{space 1}   -2.87{col 51}{space 3}0.004{col 59}{space 4}-.2014048{col 72}{space 3}-.0380809
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.1647878{col 31}{space 2} .0470196{col 42}{space 1}   -3.50{col 51}{space 3}0.000{col 59}{space 4}-.2569446{col 72}{space 3}-.0726311
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0268648{col 31}{space 2} .0452099{col 42}{space 1}    0.59{col 51}{space 3}0.552{col 59}{space 4}-.0617451{col 72}{space 3} .1154746
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0068468{col 31}{space 2} .0425727{col 42}{space 1}   -0.16{col 51}{space 3}0.872{col 59}{space 4}-.0902878{col 72}{space 3} .0765942
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0260996{col 31}{space 2} .0392519{col 42}{space 1}    0.66{col 51}{space 3}0.506{col 59}{space 4}-.0508328{col 72}{space 3}  .103032
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0339286{col 31}{space 2} .0315403{col 42}{space 1}   -1.08{col 51}{space 3}0.282{col 59}{space 4}-.0957465{col 72}{space 3} .0278893
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0631826{col 31}{space 2} .0462159{col 42}{space 1}    1.37{col 51}{space 3}0.172{col 59}{space 4} -.027399{col 72}{space 3} .1537642
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.1424004{col 31}{space 2} .0446367{col 42}{space 1}   -3.19{col 51}{space 3}0.001{col 59}{space 4}-.2298867{col 72}{space 3}-.0549141
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0004937{col 31}{space 2} .0409222{col 42}{space 1}   -0.01{col 51}{space 3}0.990{col 59}{space 4}-.0806998{col 72}{space 3} .0797123
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.2061241{col 31}{space 2} .0529422{col 42}{space 1}   -3.89{col 51}{space 3}0.000{col 59}{space 4}-.3098889{col 72}{space 3}-.1023592
{txt}{space 14}29  {c |}{col 19}{res}{space 2}-.0183903{col 31}{space 2} .0436904{col 42}{space 1}   -0.42{col 51}{space 3}0.674{col 59}{space 4}-.1040219{col 72}{space 3} .0672413
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .1679865{col 31}{space 2}  .050109{col 42}{space 1}    3.35{col 51}{space 3}0.001{col 59}{space 4} .0697747{col 72}{space 3} .2661984
{txt}{space 14}31  {c |}{col 19}{res}{space 2}-.0386583{col 31}{space 2} .0387162{col 42}{space 1}   -1.00{col 51}{space 3}0.318{col 59}{space 4}-.1145407{col 72}{space 3} .0372241
{txt}{space 14}32  {c |}{col 19}{res}{space 2}-.1323217{col 31}{space 2} .0442977{col 42}{space 1}   -2.99{col 51}{space 3}0.003{col 59}{space 4}-.2191436{col 72}{space 3}-.0454998
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .0741873{col 31}{space 2} .0416604{col 42}{space 1}    1.78{col 51}{space 3}0.075{col 59}{space 4}-.0074656{col 72}{space 3} .1558402
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0862787{col 31}{space 2} .0349746{col 42}{space 1}   -2.47{col 51}{space 3}0.014{col 59}{space 4}-.1548278{col 72}{space 3}-.0177297
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.1547022{col 31}{space 2} .0447066{col 42}{space 1}   -3.46{col 51}{space 3}0.001{col 59}{space 4}-.2423256{col 72}{space 3}-.0670787
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0428214{col 31}{space 2}  .036273{col 42}{space 1}    1.18{col 51}{space 3}0.238{col 59}{space 4}-.0282723{col 72}{space 3} .1139152
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0343525{col 31}{space 2} .0258822{col 42}{space 1}   -1.33{col 51}{space 3}0.184{col 59}{space 4}-.0850806{col 72}{space 3} .0163755
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0837946{col 31}{space 2} .0501071{col 42}{space 1}    1.67{col 51}{space 3}0.094{col 59}{space 4}-.0144135{col 72}{space 3} .1820027
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.1579859{col 31}{space 2} .0456128{col 42}{space 1}   -3.46{col 51}{space 3}0.001{col 59}{space 4}-.2473853{col 72}{space 3}-.0685865
{txt}{space 14}43  {c |}{col 19}{res}{space 2}-.1298754{col 31}{space 2} .0482707{col 42}{space 1}   -2.69{col 51}{space 3}0.007{col 59}{space 4}-.2244843{col 72}{space 3}-.0352665
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0639674{col 31}{space 2} .0409527{col 42}{space 1}    1.56{col 51}{space 3}0.118{col 59}{space 4}-.0162984{col 72}{space 3} .1442332
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0188742{col 31}{space 2} .0362037{col 42}{space 1}    0.52{col 51}{space 3}0.602{col 59}{space 4}-.0520838{col 72}{space 3} .0898321
{txt}{space 14}47  {c |}{col 19}{res}{space 2} .0447968{col 31}{space 2} .0348051{col 42}{space 1}    1.29{col 51}{space 3}0.198{col 59}{space 4}-.0234199{col 72}{space 3} .1130135
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.1046489{col 31}{space 2} .0434944{col 42}{space 1}   -2.41{col 51}{space 3}0.016{col 59}{space 4}-.1898964{col 72}{space 3}-.0194013
{txt}{space 14}49  {c |}{col 19}{res}{space 2} -.138228{col 31}{space 2}  .048676{col 42}{space 1}   -2.84{col 51}{space 3}0.005{col 59}{space 4}-.2336311{col 72}{space 3}-.0428249
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0324376{col 31}{space 2} .0375849{col 42}{space 1}    0.86{col 51}{space 3}0.388{col 59}{space 4}-.0412274{col 72}{space 3} .1061026
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea7.xls, keep(l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea7.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea7.txt""':seeout}

{com}. 
. * Contemporary period (1998-2019)
. 
. * Model 5
. xtpcse pollib_median l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year > 1997 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,078
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.9954
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}34{txt}){col 67}= {res}    247.62
{txt}Estimated coefficients{col 28}= {res}       62{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}    pollib_median{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}pollib_median {c |}
{space 14}L1. {c |}{col 19}{res}{space 2} .9327615{col 31}{space 2} .0176385{col 42}{space 1}   52.88{col 51}{space 3}0.000{col 59}{space 4} .8981907{col 72}{space 3} .9673323
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2} -.078962{col 31}{space 2} .0150397{col 42}{space 1}   -5.25{col 51}{space 3}0.000{col 59}{space 4}-.1084393{col 72}{space 3}-.0494847
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0556993{col 31}{space 2} .0080723{col 42}{space 1}   -6.90{col 51}{space 3}0.000{col 59}{space 4}-.0715208{col 72}{space 3}-.0398779
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0432287{col 31}{space 2} .0107095{col 42}{space 1}   -4.04{col 51}{space 3}0.000{col 59}{space 4}-.0642189{col 72}{space 3}-.0222385
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0220383{col 31}{space 2} .0239031{col 42}{space 1}    0.92{col 51}{space 3}0.357{col 59}{space 4}-.0248109{col 72}{space 3} .0688875
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0682975{col 31}{space 2} .0116849{col 42}{space 1}    5.84{col 51}{space 3}0.000{col 59}{space 4} .0453955{col 72}{space 3} .0911994
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0838209{col 31}{space 2} .0171278{col 42}{space 1}    4.89{col 51}{space 3}0.000{col 59}{space 4}  .050251{col 72}{space 3} .1173908
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}  .006608{col 31}{space 2} .0197045{col 42}{space 1}    0.34{col 51}{space 3}0.737{col 59}{space 4}-.0320122{col 72}{space 3} .0452282
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0151066{col 31}{space 2} .0092536{col 42}{space 1}   -1.63{col 51}{space 3}0.103{col 59}{space 4}-.0332434{col 72}{space 3} .0030302
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}  .000079{col 31}{space 2} .0004178{col 42}{space 1}    0.19{col 51}{space 3}0.850{col 59}{space 4}-.0007399{col 72}{space 3} .0008979
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0204884{col 31}{space 2} .0104928{col 42}{space 1}   -1.95{col 51}{space 3}0.051{col 59}{space 4}-.0410539{col 72}{space 3} .0000771
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0001242{col 31}{space 2}  .000482{col 42}{space 1}    0.26{col 51}{space 3}0.797{col 59}{space 4}-.0008205{col 72}{space 3} .0010689
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0021189{col 31}{space 2} .0032189{col 42}{space 1}    0.66{col 51}{space 3}0.510{col 59}{space 4}-.0041899{col 72}{space 3} .0084278
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.2055112{col 31}{space 2}  .054619{col 42}{space 1}   -3.76{col 51}{space 3}0.000{col 59}{space 4}-.3125624{col 72}{space 3}-.0984599
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.1562439{col 31}{space 2} .0451027{col 42}{space 1}   -3.46{col 51}{space 3}0.001{col 59}{space 4}-.2446436{col 72}{space 3}-.0678443
{txt}{space 15}4  {c |}{col 19}{res}{space 2}-.0594767{col 31}{space 2} .0316496{col 42}{space 1}   -1.88{col 51}{space 3}0.060{col 59}{space 4}-.1215088{col 72}{space 3} .0025554
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .2968119{col 31}{space 2} .0819482{col 42}{space 1}    3.62{col 51}{space 3}0.000{col 59}{space 4} .1361964{col 72}{space 3} .4574274
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0122518{col 31}{space 2} .0257769{col 42}{space 1}    0.48{col 51}{space 3}0.635{col 59}{space 4}  -.03827{col 72}{space 3} .0627736
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .1314384{col 31}{space 2} .0412665{col 42}{space 1}    3.19{col 51}{space 3}0.001{col 59}{space 4} .0505576{col 72}{space 3} .2123193
{txt}{space 15}8  {c |}{col 19}{res}{space 2}  .050894{col 31}{space 2}  .034252{col 42}{space 1}    1.49{col 51}{space 3}0.137{col 59}{space 4}-.0162388{col 72}{space 3} .1180267
{txt}{space 15}9  {c |}{col 19}{res}{space 2} -.025626{col 31}{space 2} .0280871{col 42}{space 1}   -0.91{col 51}{space 3}0.362{col 59}{space 4}-.0806757{col 72}{space 3} .0294236
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.1643234{col 31}{space 2} .0457262{col 42}{space 1}   -3.59{col 51}{space 3}0.000{col 59}{space 4}-.2539451{col 72}{space 3}-.0747017
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0837999{col 31}{space 2} .0393799{col 42}{space 1}    2.13{col 51}{space 3}0.033{col 59}{space 4} .0066167{col 72}{space 3} .1609831
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0127751{col 31}{space 2}  .030945{col 42}{space 1}    0.41{col 51}{space 3}0.680{col 59}{space 4}-.0478761{col 72}{space 3} .0734262
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0639895{col 31}{space 2} .0344165{col 42}{space 1}   -1.86{col 51}{space 3}0.063{col 59}{space 4}-.1314446{col 72}{space 3} .0034655
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0777918{col 31}{space 2} .0328606{col 42}{space 1}    2.37{col 51}{space 3}0.018{col 59}{space 4} .0133863{col 72}{space 3} .1421974
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0549296{col 31}{space 2} .0333299{col 42}{space 1}   -1.65{col 51}{space 3}0.099{col 59}{space 4}-.1202549{col 72}{space 3} .0103957
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0699801{col 31}{space 2} .0330897{col 42}{space 1}   -2.11{col 51}{space 3}0.034{col 59}{space 4}-.1348347{col 72}{space 3}-.0051254
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.1137973{col 31}{space 2} .0362551{col 42}{space 1}   -3.14{col 51}{space 3}0.002{col 59}{space 4} -.184856{col 72}{space 3}-.0427387
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.1178616{col 31}{space 2} .0348063{col 42}{space 1}   -3.39{col 51}{space 3}0.001{col 59}{space 4}-.1860807{col 72}{space 3}-.0496425
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .1530418{col 31}{space 2} .0453359{col 42}{space 1}    3.38{col 51}{space 3}0.001{col 59}{space 4} .0641851{col 72}{space 3} .2418986
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0956145{col 31}{space 2} .0401205{col 42}{space 1}    2.38{col 51}{space 3}0.017{col 59}{space 4} .0169797{col 72}{space 3} .1742493
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0663381{col 31}{space 2} .0423522{col 42}{space 1}    1.57{col 51}{space 3}0.117{col 59}{space 4}-.0166707{col 72}{space 3}  .149347
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0361173{col 31}{space 2} .0276885{col 42}{space 1}    1.30{col 51}{space 3}0.192{col 59}{space 4}-.0181512{col 72}{space 3} .0903858
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0542663{col 31}{space 2} .0316362{col 42}{space 1}    1.72{col 51}{space 3}0.086{col 59}{space 4}-.0077395{col 72}{space 3}  .116272
{txt}{space 14}24  {c |}{col 19}{res}{space 2} -.090092{col 31}{space 2}  .030672{col 42}{space 1}   -2.94{col 51}{space 3}0.003{col 59}{space 4}-.1502081{col 72}{space 3}-.0299759
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.2205225{col 31}{space 2} .0523212{col 42}{space 1}   -4.21{col 51}{space 3}0.000{col 59}{space 4}-.3230701{col 72}{space 3}-.1179749
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0311396{col 31}{space 2} .0335149{col 42}{space 1}   -0.93{col 51}{space 3}0.353{col 59}{space 4}-.0968275{col 72}{space 3} .0345483
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.1612823{col 31}{space 2} .0392083{col 42}{space 1}   -4.11{col 51}{space 3}0.000{col 59}{space 4}-.2381292{col 72}{space 3}-.0844355
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0931166{col 31}{space 2} .0388353{col 42}{space 1}   -2.40{col 51}{space 3}0.016{col 59}{space 4}-.1692323{col 72}{space 3}-.0170008
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0052562{col 31}{space 2} .0466136{col 42}{space 1}    0.11{col 51}{space 3}0.910{col 59}{space 4}-.0861048{col 72}{space 3} .0966172
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .1702115{col 31}{space 2}  .044598{col 42}{space 1}    3.82{col 51}{space 3}0.000{col 59}{space 4} .0828011{col 72}{space 3} .2576218
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0503679{col 31}{space 2} .0507936{col 42}{space 1}    0.99{col 51}{space 3}0.321{col 59}{space 4}-.0491856{col 72}{space 3} .1499215
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0132727{col 31}{space 2} .0328428{col 42}{space 1}    0.40{col 51}{space 3}0.686{col 59}{space 4} -.051098{col 72}{space 3} .0776435
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .2515768{col 31}{space 2} .0613759{col 42}{space 1}    4.10{col 51}{space 3}0.000{col 59}{space 4} .1312822{col 72}{space 3} .3718714
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0539338{col 31}{space 2} .0222072{col 42}{space 1}    2.43{col 51}{space 3}0.015{col 59}{space 4} .0104086{col 72}{space 3}  .097459
{txt}{space 14}35  {c |}{col 19}{res}{space 2} -.095155{col 31}{space 2}  .031456{col 42}{space 1}   -3.03{col 51}{space 3}0.002{col 59}{space 4}-.1568075{col 72}{space 3}-.0335024
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0856634{col 31}{space 2} .0369953{col 42}{space 1}    2.32{col 51}{space 3}0.021{col 59}{space 4}  .013154{col 72}{space 3} .1581728
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0533111{col 31}{space 2} .0281841{col 42}{space 1}    1.89{col 51}{space 3}0.059{col 59}{space 4}-.0019288{col 72}{space 3}  .108551
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0984632{col 31}{space 2}  .041247{col 42}{space 1}    2.39{col 51}{space 3}0.017{col 59}{space 4} .0176205{col 72}{space 3} .1793059
{txt}{space 14}39  {c |}{col 19}{res}{space 2}-.1292341{col 31}{space 2} .0427523{col 42}{space 1}   -3.02{col 51}{space 3}0.003{col 59}{space 4} -.213027{col 72}{space 3}-.0454412
{txt}{space 14}40  {c |}{col 19}{res}{space 2} -.072376{col 31}{space 2} .0359002{col 42}{space 1}   -2.02{col 51}{space 3}0.044{col 59}{space 4}-.1427391{col 72}{space 3} -.002013
{txt}{space 14}41  {c |}{col 19}{res}{space 2} -.116093{col 31}{space 2} .0444206{col 42}{space 1}   -2.61{col 51}{space 3}0.009{col 59}{space 4}-.2031558{col 72}{space 3}-.0290302
{txt}{space 14}42  {c |}{col 19}{res}{space 2}-.0719299{col 31}{space 2} .0272748{col 42}{space 1}   -2.64{col 51}{space 3}0.008{col 59}{space 4}-.1253875{col 72}{space 3}-.0184723
{txt}{space 14}43  {c |}{col 19}{res}{space 2}-.0474134{col 31}{space 2} .0383537{col 42}{space 1}   -1.24{col 51}{space 3}0.216{col 59}{space 4}-.1225853{col 72}{space 3} .0277584
{txt}{space 14}44  {c |}{col 19}{res}{space 2}-.1056504{col 31}{space 2} .0359769{col 42}{space 1}   -2.94{col 51}{space 3}0.003{col 59}{space 4}-.1761637{col 72}{space 3} -.035137
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0871254{col 31}{space 2} .0465126{col 42}{space 1}    1.87{col 51}{space 3}0.061{col 59}{space 4}-.0040375{col 72}{space 3} .1782884
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0961526{col 31}{space 2} .0404725{col 42}{space 1}    2.38{col 51}{space 3}0.018{col 59}{space 4} .0168279{col 72}{space 3} .1754772
{txt}{space 14}47  {c |}{col 19}{res}{space 2} .0098625{col 31}{space 2} .0305114{col 42}{space 1}    0.32{col 51}{space 3}0.747{col 59}{space 4}-.0499389{col 72}{space 3} .0696638
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.1186279{col 31}{space 2} .0317575{col 42}{space 1}   -3.74{col 51}{space 3}0.000{col 59}{space 4}-.1808715{col 72}{space 3}-.0563843
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0904563{col 31}{space 2}  .038741{col 42}{space 1}   -2.33{col 51}{space 3}0.020{col 59}{space 4}-.1663873{col 72}{space 3}-.0145252
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0135166{col 31}{space 2} .0331311{col 42}{space 1}    0.41{col 51}{space 3}0.683{col 59}{space 4}-.0514191{col 72}{space 3} .0784523
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea7.xls, keep(l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea7.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea7.txt""':seeout}

{com}. 
. * Model 6
. xtpcse pollib_median l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year > 1997 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       836
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.9936
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}34{txt}){col 67}= {res}    270.12
{txt}Estimated coefficients{col 28}= {res}       51{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}    pollib_median{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 4}pollib_median {c |}
{space 14}L1. {c |}{col 19}{res}{space 2} .9362554{col 31}{space 2} .0190302{col 42}{space 1}   49.20{col 51}{space 3}0.000{col 59}{space 4} .8989568{col 72}{space 3}  .973554
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0936016{col 31}{space 2} .0206821{col 42}{space 1}   -4.53{col 51}{space 3}0.000{col 59}{space 4}-.1341378{col 72}{space 3}-.0530653
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0579339{col 31}{space 2} .0101605{col 42}{space 1}   -5.70{col 51}{space 3}0.000{col 59}{space 4}-.0778481{col 72}{space 3}-.0380196
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.043203{col 31}{space 2} .0125391{col 42}{space 1}   -3.45{col 51}{space 3}0.001{col 59}{space 4}-.0677792{col 72}{space 3}-.0186269
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0254308{col 31}{space 2}  .025396{col 42}{space 1}    1.00{col 51}{space 3}0.317{col 59}{space 4}-.0243444{col 72}{space 3} .0752061
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0781083{col 31}{space 2} .0135054{col 42}{space 1}    5.78{col 51}{space 3}0.000{col 59}{space 4} .0516382{col 72}{space 3} .1045783
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .1001596{col 31}{space 2} .0203797{col 42}{space 1}    4.91{col 51}{space 3}0.000{col 59}{space 4} .0602161{col 72}{space 3}  .140103
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0207868{col 31}{space 2} .0260039{col 42}{space 1}    0.80{col 51}{space 3}0.424{col 59}{space 4}  -.03018{col 72}{space 3} .0717536
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0161097{col 31}{space 2}  .009834{col 42}{space 1}   -1.64{col 51}{space 3}0.101{col 59}{space 4} -.035384{col 72}{space 3} .0031646
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}  .000176{col 31}{space 2}  .000495{col 42}{space 1}    0.36{col 51}{space 3}0.722{col 59}{space 4}-.0007943{col 72}{space 3} .0011462
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0196771{col 31}{space 2} .0118736{col 42}{space 1}   -1.66{col 51}{space 3}0.097{col 59}{space 4}-.0429489{col 72}{space 3} .0035946
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}-.0000524{col 31}{space 2} .0005344{col 42}{space 1}   -0.10{col 51}{space 3}0.922{col 59}{space 4}-.0010999{col 72}{space 3}  .000995
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0029906{col 31}{space 2} .0036458{col 42}{space 1}    0.82{col 51}{space 3}0.412{col 59}{space 4} -.004155{col 72}{space 3} .0101362
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2}-.0552759{col 31}{space 2} .0339597{col 42}{space 1}   -1.63{col 51}{space 3}0.104{col 59}{space 4}-.1218358{col 72}{space 3} .0112839
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .2725732{col 31}{space 2}  .090839{col 42}{space 1}    3.00{col 51}{space 3}0.003{col 59}{space 4} .0945321{col 72}{space 3} .4506143
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0087205{col 31}{space 2} .0270807{col 42}{space 1}    0.32{col 51}{space 3}0.747{col 59}{space 4}-.0443567{col 72}{space 3} .0617977
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .1245189{col 31}{space 2}  .043443{col 42}{space 1}    2.87{col 51}{space 3}0.004{col 59}{space 4} .0393721{col 72}{space 3} .2096656
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0429492{col 31}{space 2} .0363262{col 42}{space 1}    1.18{col 51}{space 3}0.237{col 59}{space 4}-.0282489{col 72}{space 3} .1141473
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0585624{col 31}{space 2}  .043011{col 42}{space 1}    1.36{col 51}{space 3}0.173{col 59}{space 4}-.0257376{col 72}{space 3} .1428624
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0083064{col 31}{space 2} .0318603{col 42}{space 1}    0.26{col 51}{space 3}0.794{col 59}{space 4}-.0541386{col 72}{space 3} .0707514
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0581405{col 31}{space 2} .0364645{col 42}{space 1}   -1.59{col 51}{space 3}0.111{col 59}{space 4}-.1296097{col 72}{space 3} .0133286
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0632071{col 31}{space 2} .0342293{col 42}{space 1}    1.85{col 51}{space 3}0.065{col 59}{space 4} -.003881{col 72}{space 3} .1302953
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0520005{col 31}{space 2} .0354159{col 42}{space 1}   -1.47{col 51}{space 3}0.142{col 59}{space 4}-.1214144{col 72}{space 3} .0174135
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0665451{col 31}{space 2} .0358243{col 42}{space 1}   -1.86{col 51}{space 3}0.063{col 59}{space 4}-.1367594{col 72}{space 3} .0036693
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.1139005{col 31}{space 2} .0386792{col 42}{space 1}   -2.94{col 51}{space 3}0.003{col 59}{space 4}-.1897105{col 72}{space 3}-.0380906
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .1296584{col 31}{space 2} .0496302{col 42}{space 1}    2.61{col 51}{space 3}0.009{col 59}{space 4} .0323849{col 72}{space 3} .2269319
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0702392{col 31}{space 2} .0439074{col 42}{space 1}    1.60{col 51}{space 3}0.110{col 59}{space 4}-.0158177{col 72}{space 3} .1562961
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0596578{col 31}{space 2} .0447615{col 42}{space 1}    1.33{col 51}{space 3}0.183{col 59}{space 4}-.0280731{col 72}{space 3} .1473888
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0345406{col 31}{space 2} .0290605{col 42}{space 1}    1.19{col 51}{space 3}0.235{col 59}{space 4}-.0224168{col 72}{space 3} .0914981
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0482006{col 31}{space 2} .0335435{col 42}{space 1}    1.44{col 51}{space 3}0.151{col 59}{space 4}-.0175434{col 72}{space 3} .1139446
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0893318{col 31}{space 2} .0327518{col 42}{space 1}   -2.73{col 51}{space 3}0.006{col 59}{space 4}-.1535241{col 72}{space 3}-.0251395
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0298362{col 31}{space 2} .0361791{col 42}{space 1}   -0.82{col 51}{space 3}0.410{col 59}{space 4}-.1007459{col 72}{space 3} .0410735
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0828909{col 31}{space 2} .0437824{col 42}{space 1}   -1.89{col 51}{space 3}0.058{col 59}{space 4}-.1687029{col 72}{space 3}  .002921
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0020343{col 31}{space 2} .0499813{col 42}{space 1}    0.04{col 51}{space 3}0.968{col 59}{space 4}-.0959273{col 72}{space 3} .0999959
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .1579447{col 31}{space 2} .0465728{col 42}{space 1}    3.39{col 51}{space 3}0.001{col 59}{space 4} .0666636{col 72}{space 3} .2492258
{txt}{space 14}31  {c |}{col 19}{res}{space 2}  .043124{col 31}{space 2} .0529665{col 42}{space 1}    0.81{col 51}{space 3}0.416{col 59}{space 4}-.0606886{col 72}{space 3} .1469365
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0128967{col 31}{space 2} .0353593{col 42}{space 1}    0.36{col 51}{space 3}0.715{col 59}{space 4}-.0564062{col 72}{space 3} .0821996
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .2385214{col 31}{space 2} .0664091{col 42}{space 1}    3.59{col 51}{space 3}0.000{col 59}{space 4}  .108362{col 72}{space 3} .3686808
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0540258{col 31}{space 2} .0235128{col 42}{space 1}    2.30{col 51}{space 3}0.022{col 59}{space 4} .0079416{col 72}{space 3} .1001101
{txt}{space 14}35  {c |}{col 19}{res}{space 2} -.094758{col 31}{space 2} .0331411{col 42}{space 1}   -2.86{col 51}{space 3}0.004{col 59}{space 4}-.1597133{col 72}{space 3}-.0298028
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0761246{col 31}{space 2} .0381739{col 42}{space 1}    1.99{col 51}{space 3}0.046{col 59}{space 4} .0013052{col 72}{space 3} .1509441
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0508853{col 31}{space 2} .0300754{col 42}{space 1}    1.69{col 51}{space 3}0.091{col 59}{space 4}-.0080614{col 72}{space 3}  .109832
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0765047{col 31}{space 2} .0458017{col 42}{space 1}    1.67{col 51}{space 3}0.095{col 59}{space 4} -.013265{col 72}{space 3} .1662744
{txt}{space 14}40  {c |}{col 19}{res}{space 2} -.064148{col 31}{space 2} .0404168{col 42}{space 1}   -1.59{col 51}{space 3}0.112{col 59}{space 4}-.1433635{col 72}{space 3} .0150675
{txt}{space 14}43  {c |}{col 19}{res}{space 2} -.040074{col 31}{space 2} .0413214{col 42}{space 1}   -0.97{col 51}{space 3}0.332{col 59}{space 4}-.1210625{col 72}{space 3} .0409144
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0802895{col 31}{space 2} .0500179{col 42}{space 1}    1.61{col 51}{space 3}0.108{col 59}{space 4}-.0177438{col 72}{space 3} .1783227
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0830211{col 31}{space 2} .0416133{col 42}{space 1}    2.00{col 51}{space 3}0.046{col 59}{space 4} .0014606{col 72}{space 3} .1645817
{txt}{space 14}47  {c |}{col 19}{res}{space 2} .0065493{col 31}{space 2} .0311106{col 42}{space 1}    0.21{col 51}{space 3}0.833{col 59}{space 4}-.0544265{col 72}{space 3}  .067525
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.1328209{col 31}{space 2} .0361294{col 42}{space 1}   -3.68{col 51}{space 3}0.000{col 59}{space 4}-.2036333{col 72}{space 3}-.0620085
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0849548{col 31}{space 2} .0420726{col 42}{space 1}   -2.02{col 51}{space 3}0.043{col 59}{space 4}-.1674157{col 72}{space 3} -.002494
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0233856{col 31}{space 2} .0357514{col 42}{space 1}    0.65{col 51}{space 3}0.513{col 59}{space 4}-.0466858{col 72}{space 3} .0934571
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea7.xls, keep(l.pollib_median b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea7.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea7.txt""':seeout}

{com}. 
. 
. ****************************************************
. *
. * For Appendix: ordinal DV
. *
. ****************************************************
. 
. * Full panel (1976-2019)
. 
. * Model 1
. xtpcse ydiff l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     2,156
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.1058
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}51{txt}){col 67}= {res}    977.02
{txt}Estimated coefficients{col 28}= {res}       57{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2} -.052526{col 31}{space 2} .0322175{col 42}{space 1}   -1.63{col 51}{space 3}0.103{col 59}{space 4}-.1156711{col 72}{space 3}  .010619
{txt}{space 17} {c |}
misalignment_sc~r {c |}{col 19}{res}{space 2} .0177066{col 31}{space 2} .0021808{col 42}{space 1}    8.12{col 51}{space 3}0.000{col 59}{space 4} .0134324{col 72}{space 3} .0219808
{txt}{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}  .005139{col 31}{space 2} .0085445{col 42}{space 1}    0.60{col 51}{space 3}0.548{col 59}{space 4}-.0116079{col 72}{space 3} .0218859
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0047859{col 31}{space 2} .0077284{col 42}{space 1}    0.62{col 51}{space 3}0.536{col 59}{space 4}-.0103615{col 72}{space 3} .0199333
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0004166{col 31}{space 2} .0002035{col 42}{space 1}    2.05{col 51}{space 3}0.041{col 59}{space 4} .0000177{col 72}{space 3} .0008155
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0045975{col 31}{space 2} .0051865{col 42}{space 1}    0.89{col 51}{space 3}0.375{col 59}{space 4}-.0055679{col 72}{space 3} .0147629
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0009302{col 31}{space 2} .0003088{col 42}{space 1}    3.01{col 51}{space 3}0.003{col 59}{space 4} .0003249{col 72}{space 3} .0015355
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0013504{col 31}{space 2} .0015184{col 42}{space 1}    0.89{col 51}{space 3}0.374{col 59}{space 4}-.0016256{col 72}{space 3} .0043264
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0078104{col 31}{space 2} .0263342{col 42}{space 1}   -0.30{col 51}{space 3}0.767{col 59}{space 4}-.0594245{col 72}{space 3} .0438038
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0159654{col 31}{space 2} .0238275{col 42}{space 1}   -0.67{col 51}{space 3}0.503{col 59}{space 4}-.0626664{col 72}{space 3} .0307357
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0153969{col 31}{space 2} .0186855{col 42}{space 1}    0.82{col 51}{space 3}0.410{col 59}{space 4} -.021226{col 72}{space 3} .0520197
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0025879{col 31}{space 2} .0367205{col 42}{space 1}    0.07{col 51}{space 3}0.944{col 59}{space 4}-.0693829{col 72}{space 3} .0745586
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0128593{col 31}{space 2} .0229268{col 42}{space 1}    0.56{col 51}{space 3}0.575{col 59}{space 4}-.0320765{col 72}{space 3}  .057795
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0131538{col 31}{space 2} .0237022{col 42}{space 1}    0.55{col 51}{space 3}0.579{col 59}{space 4}-.0333016{col 72}{space 3} .0596092
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0104707{col 31}{space 2} .0226946{col 42}{space 1}    0.46{col 51}{space 3}0.645{col 59}{space 4}  -.03401{col 72}{space 3} .0549513
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0120953{col 31}{space 2} .0240757{col 42}{space 1}    0.50{col 51}{space 3}0.615{col 59}{space 4}-.0350923{col 72}{space 3} .0592828
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0148506{col 31}{space 2} .0210853{col 42}{space 1}   -0.70{col 51}{space 3}0.481{col 59}{space 4}-.0561771{col 72}{space 3} .0264758
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0419717{col 31}{space 2} .0251841{col 42}{space 1}   -1.67{col 51}{space 3}0.096{col 59}{space 4}-.0913317{col 72}{space 3} .0073883
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0172513{col 31}{space 2}  .024945{col 42}{space 1}    0.69{col 51}{space 3}0.489{col 59}{space 4}  -.03164{col 72}{space 3} .0661425
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0242981{col 31}{space 2} .0251579{col 42}{space 1}    0.97{col 51}{space 3}0.334{col 59}{space 4}-.0250105{col 72}{space 3} .0736067
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0043927{col 31}{space 2} .0199348{col 42}{space 1}    0.22{col 51}{space 3}0.826{col 59}{space 4}-.0346788{col 72}{space 3} .0434641
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0122946{col 31}{space 2} .0237622{col 42}{space 1}    0.52{col 51}{space 3}0.605{col 59}{space 4}-.0342785{col 72}{space 3} .0588677
{txt}{space 14}16  {c |}{col 19}{res}{space 2}  .020384{col 31}{space 2} .0214813{col 42}{space 1}    0.95{col 51}{space 3}0.343{col 59}{space 4}-.0217185{col 72}{space 3} .0624865
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0263368{col 31}{space 2} .0228219{col 42}{space 1}   -1.15{col 51}{space 3}0.248{col 59}{space 4} -.071067{col 72}{space 3} .0183933
{txt}{space 14}18  {c |}{col 19}{res}{space 2} .0040407{col 31}{space 2} .0243737{col 42}{space 1}    0.17{col 51}{space 3}0.868{col 59}{space 4}-.0437309{col 72}{space 3} .0518122
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0380122{col 31}{space 2} .0268709{col 42}{space 1}   -1.41{col 51}{space 3}0.157{col 59}{space 4}-.0906783{col 72}{space 3} .0146539
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0081097{col 31}{space 2} .0267241{col 42}{space 1}   -0.30{col 51}{space 3}0.762{col 59}{space 4} -.060488{col 72}{space 3} .0442686
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0089835{col 31}{space 2}  .026338{col 42}{space 1}    0.34{col 51}{space 3}0.733{col 59}{space 4}-.0426379{col 72}{space 3}  .060605
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0296735{col 31}{space 2}  .020977{col 42}{space 1}   -1.41{col 51}{space 3}0.157{col 59}{space 4}-.0707876{col 72}{space 3} .0114407
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0023298{col 31}{space 2} .0266471{col 42}{space 1}    0.09{col 51}{space 3}0.930{col 59}{space 4}-.0498974{col 72}{space 3} .0545571
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0175998{col 31}{space 2} .0227407{col 42}{space 1}   -0.77{col 51}{space 3}0.439{col 59}{space 4}-.0621707{col 72}{space 3} .0269711
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.0088319{col 31}{space 2} .0213923{col 42}{space 1}   -0.41{col 51}{space 3}0.680{col 59}{space 4}  -.05076{col 72}{space 3} .0330962
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0177476{col 31}{space 2} .0243825{col 42}{space 1}    0.73{col 51}{space 3}0.467{col 59}{space 4}-.0300412{col 72}{space 3} .0655365
{txt}{space 14}27  {c |}{col 19}{res}{space 2} -.018184{col 31}{space 2}  .020195{col 42}{space 1}   -0.90{col 51}{space 3}0.368{col 59}{space 4}-.0577655{col 72}{space 3} .0213976
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0165528{col 31}{space 2} .0205088{col 42}{space 1}    0.81{col 51}{space 3}0.420{col 59}{space 4}-.0236437{col 72}{space 3} .0567492
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0411997{col 31}{space 2} .0298217{col 42}{space 1}    1.38{col 51}{space 3}0.167{col 59}{space 4}-.0172497{col 72}{space 3} .0996491
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0103008{col 31}{space 2} .0232679{col 42}{space 1}    0.44{col 51}{space 3}0.658{col 59}{space 4}-.0353034{col 72}{space 3}  .055905
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0310679{col 31}{space 2} .0308437{col 42}{space 1}    1.01{col 51}{space 3}0.314{col 59}{space 4}-.0293847{col 72}{space 3} .0915205
{txt}{space 14}32  {c |}{col 19}{res}{space 2}  .034505{col 31}{space 2} .0228035{col 42}{space 1}    1.51{col 51}{space 3}0.130{col 59}{space 4}-.0101891{col 72}{space 3} .0791991
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0128589{col 31}{space 2} .0266394{col 42}{space 1}   -0.48{col 51}{space 3}0.629{col 59}{space 4}-.0650711{col 72}{space 3} .0393534
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0006001{col 31}{space 2} .0199905{col 42}{space 1}    0.03{col 51}{space 3}0.976{col 59}{space 4}-.0385806{col 72}{space 3} .0397808
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0055113{col 31}{space 2} .0215169{col 42}{space 1}   -0.26{col 51}{space 3}0.798{col 59}{space 4}-.0476836{col 72}{space 3} .0366611
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0118295{col 31}{space 2} .0239337{col 42}{space 1}    0.49{col 51}{space 3}0.621{col 59}{space 4}-.0350796{col 72}{space 3} .0587386
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0240759{col 31}{space 2} .0182518{col 42}{space 1}   -1.32{col 51}{space 3}0.187{col 59}{space 4}-.0598487{col 72}{space 3} .0116969
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0202201{col 31}{space 2} .0263509{col 42}{space 1}   -0.77{col 51}{space 3}0.443{col 59}{space 4}-.0718669{col 72}{space 3} .0314267
{txt}{space 14}39  {c |}{col 19}{res}{space 2} .0016095{col 31}{space 2} .0202608{col 42}{space 1}    0.08{col 51}{space 3}0.937{col 59}{space 4} -.038101{col 72}{space 3} .0413199
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0225505{col 31}{space 2} .0214208{col 42}{space 1}    1.05{col 51}{space 3}0.292{col 59}{space 4}-.0194336{col 72}{space 3} .0645346
{txt}{space 14}41  {c |}{col 19}{res}{space 2} .0013197{col 31}{space 2} .0271017{col 42}{space 1}    0.05{col 51}{space 3}0.961{col 59}{space 4}-.0517986{col 72}{space 3}  .054438
{txt}{space 14}42  {c |}{col 19}{res}{space 2} .0120963{col 31}{space 2}  .020557{col 42}{space 1}    0.59{col 51}{space 3}0.556{col 59}{space 4}-.0281945{col 72}{space 3} .0523872
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0506302{col 31}{space 2}  .023872{col 42}{space 1}    2.12{col 51}{space 3}0.034{col 59}{space 4}  .003842{col 72}{space 3} .0974185
{txt}{space 14}44  {c |}{col 19}{res}{space 2} .0099602{col 31}{space 2} .0277546{col 42}{space 1}    0.36{col 51}{space 3}0.720{col 59}{space 4}-.0444377{col 72}{space 3} .0643581
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0190194{col 31}{space 2} .0265109{col 42}{space 1}    0.72{col 51}{space 3}0.473{col 59}{space 4}-.0329409{col 72}{space 3} .0709798
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0146013{col 31}{space 2} .0262709{col 42}{space 1}    0.56{col 51}{space 3}0.578{col 59}{space 4}-.0368889{col 72}{space 3} .0660914
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0248418{col 31}{space 2} .0231685{col 42}{space 1}   -1.07{col 51}{space 3}0.284{col 59}{space 4}-.0702512{col 72}{space 3} .0205675
{txt}{space 14}48  {c |}{col 19}{res}{space 2} -.038505{col 31}{space 2} .0233479{col 42}{space 1}   -1.65{col 51}{space 3}0.099{col 59}{space 4}-.0842661{col 72}{space 3} .0072561
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0341669{col 31}{space 2} .0231935{col 42}{space 1}    1.47{col 51}{space 3}0.141{col 59}{space 4}-.0112914{col 72}{space 3} .0796253
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.1214295{col 31}{space 2} .0238685{col 42}{space 1}   -5.09{col 51}{space 3}0.000{col 59}{space 4} -.168211{col 72}{space 3} -.074648
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea9.xls, keep(l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) replace dec(2) pdec(3)
{txt}{browse `"tablea9.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea9.txt""':seeout}

{com}. 
. * Model 2
. xtpcse ydiff l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if south == 0 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,672
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.1089
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}45{txt}){col 67}= {res}   2080.95
{txt}Estimated coefficients{col 28}= {res}       46{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0450331{col 31}{space 2} .0344749{col 42}{space 1}   -1.31{col 51}{space 3}0.191{col 59}{space 4}-.1126026{col 72}{space 3} .0225364
{txt}{space 17} {c |}
misalignment_sc~r {c |}{col 19}{res}{space 2} .0169308{col 31}{space 2}  .002678{col 42}{space 1}    6.32{col 51}{space 3}0.000{col 59}{space 4}  .011682{col 72}{space 3} .0221796
{txt}{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0013813{col 31}{space 2} .0125973{col 42}{space 1}   -0.11{col 51}{space 3}0.913{col 59}{space 4}-.0260716{col 72}{space 3}  .023309
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0098158{col 31}{space 2} .0083225{col 42}{space 1}    1.18{col 51}{space 3}0.238{col 59}{space 4}-.0064961{col 72}{space 3} .0261277
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0006601{col 31}{space 2} .0002364{col 42}{space 1}    2.79{col 51}{space 3}0.005{col 59}{space 4} .0001967{col 72}{space 3} .0011236
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0024109{col 31}{space 2} .0055684{col 42}{space 1}    0.43{col 51}{space 3}0.665{col 59}{space 4} -.008503{col 72}{space 3} .0133248
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0009419{col 31}{space 2} .0003572{col 42}{space 1}    2.64{col 51}{space 3}0.008{col 59}{space 4} .0002419{col 72}{space 3}  .001642
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} 6.04e-06{col 31}{space 2} .0016274{col 42}{space 1}    0.00{col 51}{space 3}0.997{col 59}{space 4}-.0031837{col 72}{space 3} .0031958
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2}  .010969{col 31}{space 2} .0188076{col 42}{space 1}    0.58{col 51}{space 3}0.560{col 59}{space 4}-.0258931{col 72}{space 3} .0478312
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0069954{col 31}{space 2} .0379912{col 42}{space 1}    0.18{col 51}{space 3}0.854{col 59}{space 4}-.0674661{col 72}{space 3} .0814568
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0071192{col 31}{space 2} .0232517{col 42}{space 1}    0.31{col 51}{space 3}0.759{col 59}{space 4}-.0384533{col 72}{space 3} .0526916
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0043238{col 31}{space 2} .0244499{col 42}{space 1}    0.18{col 51}{space 3}0.860{col 59}{space 4}-.0435971{col 72}{space 3} .0522448
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0012316{col 31}{space 2} .0232059{col 42}{space 1}    0.05{col 51}{space 3}0.958{col 59}{space 4}-.0442511{col 72}{space 3} .0467144
{txt}{space 14}11  {c |}{col 19}{res}{space 2} -.046561{col 31}{space 2}  .026286{col 42}{space 1}   -1.77{col 51}{space 3}0.077{col 59}{space 4}-.0980806{col 72}{space 3} .0049586
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0082036{col 31}{space 2} .0253701{col 42}{space 1}    0.32{col 51}{space 3}0.746{col 59}{space 4}-.0415208{col 72}{space 3} .0579281
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0190566{col 31}{space 2} .0255412{col 42}{space 1}    0.75{col 51}{space 3}0.456{col 59}{space 4}-.0310031{col 72}{space 3} .0691164
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0022616{col 31}{space 2} .0201902{col 42}{space 1}   -0.11{col 51}{space 3}0.911{col 59}{space 4}-.0418337{col 72}{space 3} .0373105
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0025712{col 31}{space 2} .0241671{col 42}{space 1}    0.11{col 51}{space 3}0.915{col 59}{space 4}-.0447955{col 72}{space 3} .0499379
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0139118{col 31}{space 2} .0219435{col 42}{space 1}    0.63{col 51}{space 3}0.526{col 59}{space 4}-.0290966{col 72}{space 3} .0569201
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0297469{col 31}{space 2}  .023958{col 42}{space 1}   -1.24{col 51}{space 3}0.214{col 59}{space 4}-.0767037{col 72}{space 3} .0172099
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0401855{col 31}{space 2} .0277263{col 42}{space 1}   -1.45{col 51}{space 3}0.147{col 59}{space 4}-.0945281{col 72}{space 3} .0141572
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0116885{col 31}{space 2}  .027958{col 42}{space 1}   -0.42{col 51}{space 3}0.676{col 59}{space 4}-.0664851{col 72}{space 3} .0431082
{txt}{space 14}21  {c |}{col 19}{res}{space 2}-.0019555{col 31}{space 2} .0270911{col 42}{space 1}   -0.07{col 51}{space 3}0.942{col 59}{space 4}-.0550532{col 72}{space 3} .0511421
{txt}{space 14}22  {c |}{col 19}{res}{space 2} -.032723{col 31}{space 2} .0212659{col 42}{space 1}   -1.54{col 51}{space 3}0.124{col 59}{space 4}-.0744034{col 72}{space 3} .0089575
{txt}{space 14}23  {c |}{col 19}{res}{space 2}-.0074303{col 31}{space 2} .0271806{col 42}{space 1}   -0.27{col 51}{space 3}0.785{col 59}{space 4}-.0607032{col 72}{space 3} .0458427
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0239248{col 31}{space 2}  .022883{col 42}{space 1}   -1.05{col 51}{space 3}0.296{col 59}{space 4}-.0687748{col 72}{space 3} .0209251
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0098428{col 31}{space 2} .0250436{col 42}{space 1}    0.39{col 51}{space 3}0.694{col 59}{space 4}-.0392417{col 72}{space 3} .0589274
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0081628{col 31}{space 2} .0214682{col 42}{space 1}    0.38{col 51}{space 3}0.704{col 59}{space 4}-.0339142{col 72}{space 3} .0502398
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0298743{col 31}{space 2} .0305706{col 42}{space 1}    0.98{col 51}{space 3}0.328{col 59}{space 4}-.0300429{col 72}{space 3} .0897916
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0024464{col 31}{space 2} .0236774{col 42}{space 1}    0.10{col 51}{space 3}0.918{col 59}{space 4}-.0439606{col 72}{space 3} .0488533
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0210353{col 31}{space 2} .0315666{col 42}{space 1}    0.67{col 51}{space 3}0.505{col 59}{space 4} -.040834{col 72}{space 3} .0829047
{txt}{space 14}32  {c |}{col 19}{res}{space 2}  .027463{col 31}{space 2} .0232062{col 42}{space 1}    1.18{col 51}{space 3}0.237{col 59}{space 4}-.0180203{col 72}{space 3} .0729464
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0159805{col 31}{space 2} .0272988{col 42}{space 1}   -0.59{col 51}{space 3}0.558{col 59}{space 4}-.0694851{col 72}{space 3} .0375241
{txt}{space 14}34  {c |}{col 19}{res}{space 2} -.005268{col 31}{space 2} .0200774{col 42}{space 1}   -0.26{col 51}{space 3}0.793{col 59}{space 4}-.0446191{col 72}{space 3}  .034083
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0048178{col 31}{space 2}  .022231{col 42}{space 1}   -0.22{col 51}{space 3}0.828{col 59}{space 4}-.0483899{col 72}{space 3} .0387542
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0023078{col 31}{space 2} .0246305{col 42}{space 1}    0.09{col 51}{space 3}0.925{col 59}{space 4} -.045967{col 72}{space 3} .0505826
{txt}{space 14}37  {c |}{col 19}{res}{space 2}  -.02868{col 31}{space 2} .0184974{col 42}{space 1}   -1.55{col 51}{space 3}0.121{col 59}{space 4}-.0649341{col 72}{space 3} .0075742
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0282576{col 31}{space 2} .0276844{col 42}{space 1}   -1.02{col 51}{space 3}0.307{col 59}{space 4}-.0825181{col 72}{space 3} .0260029
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0111647{col 31}{space 2} .0222743{col 42}{space 1}    0.50{col 51}{space 3}0.616{col 59}{space 4}-.0324921{col 72}{space 3} .0548215
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0447726{col 31}{space 2} .0244735{col 42}{space 1}    1.83{col 51}{space 3}0.067{col 59}{space 4}-.0031945{col 72}{space 3} .0927397
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0057819{col 31}{space 2} .0278145{col 42}{space 1}    0.21{col 51}{space 3}0.835{col 59}{space 4}-.0487335{col 72}{space 3} .0602973
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0062396{col 31}{space 2} .0266399{col 42}{space 1}    0.23{col 51}{space 3}0.815{col 59}{space 4}-.0459736{col 72}{space 3} .0584528
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0307065{col 31}{space 2} .0234182{col 42}{space 1}   -1.31{col 51}{space 3}0.190{col 59}{space 4}-.0766053{col 72}{space 3} .0151924
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0413782{col 31}{space 2} .0246733{col 42}{space 1}   -1.68{col 51}{space 3}0.094{col 59}{space 4} -.089737{col 72}{space 3} .0069805
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0283475{col 31}{space 2} .0239212{col 42}{space 1}    1.19{col 51}{space 3}0.236{col 59}{space 4}-.0185372{col 72}{space 3} .0752322
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.1110532{col 31}{space 2}  .025771{col 42}{space 1}   -4.31{col 51}{space 3}0.000{col 59}{space 4}-.1615634{col 72}{space 3}-.0605431
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea9.xls, keep(l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea9.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea9.txt""':seeout}

{com}. 
. * Early period (1976-1997)
. 
. * Model 3
. xtpcse ydiff l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year < 1998 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,078
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.0587
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}29{txt}){col 67}= {res}    176.01
{txt}Estimated coefficients{col 28}= {res}       57{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0828211{col 31}{space 2} .0563747{col 42}{space 1}   -1.47{col 51}{space 3}0.142{col 59}{space 4}-.1933135{col 72}{space 3} .0276714
{txt}{space 17} {c |}
misalignment_sc~r {c |}{col 19}{res}{space 2} .0068505{col 31}{space 2} .0037572{col 42}{space 1}    1.82{col 51}{space 3}0.068{col 59}{space 4}-.0005134{col 72}{space 3} .0142144
{txt}{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0122933{col 31}{space 2} .0150653{col 42}{space 1}    0.82{col 51}{space 3}0.415{col 59}{space 4}-.0172342{col 72}{space 3} .0418208
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0058887{col 31}{space 2} .0155129{col 42}{space 1}    0.38{col 51}{space 3}0.704{col 59}{space 4} -.024516{col 72}{space 3} .0362934
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0001218{col 31}{space 2} .0002676{col 42}{space 1}    0.46{col 51}{space 3}0.649{col 59}{space 4}-.0004027{col 72}{space 3} .0006462
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0109677{col 31}{space 2} .0086557{col 42}{space 1}    1.27{col 51}{space 3}0.205{col 59}{space 4}-.0059971{col 72}{space 3} .0279325
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}  .001339{col 31}{space 2} .0004437{col 42}{space 1}    3.02{col 51}{space 3}0.003{col 59}{space 4} .0004693{col 72}{space 3} .0022087
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0010416{col 31}{space 2} .0016191{col 42}{space 1}    0.64{col 51}{space 3}0.520{col 59}{space 4}-.0021318{col 72}{space 3} .0042149
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2} .0112784{col 31}{space 2} .0455988{col 42}{space 1}    0.25{col 51}{space 3}0.805{col 59}{space 4}-.0780935{col 72}{space 3} .1006504
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0032389{col 31}{space 2} .0447742{col 42}{space 1}   -0.07{col 51}{space 3}0.942{col 59}{space 4}-.0909946{col 72}{space 3} .0845169
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0118672{col 31}{space 2} .0289888{col 42}{space 1}    0.41{col 51}{space 3}0.682{col 59}{space 4}-.0449498{col 72}{space 3} .0686842
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0219271{col 31}{space 2} .0532143{col 42}{space 1}   -0.41{col 51}{space 3}0.680{col 59}{space 4}-.1262252{col 72}{space 3} .0823709
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.0172162{col 31}{space 2} .0369025{col 42}{space 1}   -0.47{col 51}{space 3}0.641{col 59}{space 4}-.0895438{col 72}{space 3} .0551115
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0193356{col 31}{space 2} .0376521{col 42}{space 1}    0.51{col 51}{space 3}0.608{col 59}{space 4}-.0544612{col 72}{space 3} .0931323
{txt}{space 15}8  {c |}{col 19}{res}{space 2}-.0034413{col 31}{space 2} .0325884{col 42}{space 1}   -0.11{col 51}{space 3}0.916{col 59}{space 4}-.0673133{col 72}{space 3} .0604308
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0404276{col 31}{space 2} .0439113{col 42}{space 1}    0.92{col 51}{space 3}0.357{col 59}{space 4}-.0456369{col 72}{space 3} .1264922
{txt}{space 14}10  {c |}{col 19}{res}{space 2} .0044618{col 31}{space 2} .0375662{col 42}{space 1}    0.12{col 51}{space 3}0.905{col 59}{space 4}-.0691666{col 72}{space 3} .0780903
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0497773{col 31}{space 2} .0435006{col 42}{space 1}   -1.14{col 51}{space 3}0.253{col 59}{space 4} -.135037{col 72}{space 3} .0354824
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0372852{col 31}{space 2}  .039978{col 42}{space 1}    0.93{col 51}{space 3}0.351{col 59}{space 4}-.0410702{col 72}{space 3} .1156406
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0218508{col 31}{space 2} .0444532{col 42}{space 1}    0.49{col 51}{space 3}0.623{col 59}{space 4} -.065276{col 72}{space 3} .1089776
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0161389{col 31}{space 2} .0269503{col 42}{space 1}   -0.60{col 51}{space 3}0.549{col 59}{space 4}-.0689605{col 72}{space 3} .0366827
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0153409{col 31}{space 2} .0392888{col 42}{space 1}    0.39{col 51}{space 3}0.696{col 59}{space 4}-.0616638{col 72}{space 3} .0923456
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0161736{col 31}{space 2} .0366212{col 42}{space 1}    0.44{col 51}{space 3}0.659{col 59}{space 4}-.0556026{col 72}{space 3} .0879498
{txt}{space 14}17  {c |}{col 19}{res}{space 2} -.019098{col 31}{space 2} .0404959{col 42}{space 1}   -0.47{col 51}{space 3}0.637{col 59}{space 4}-.0984686{col 72}{space 3} .0602726
{txt}{space 14}18  {c |}{col 19}{res}{space 2} .0203887{col 31}{space 2}  .047224{col 42}{space 1}    0.43{col 51}{space 3}0.666{col 59}{space 4}-.0721687{col 72}{space 3}  .112946
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0805219{col 31}{space 2} .0422304{col 42}{space 1}   -1.91{col 51}{space 3}0.057{col 59}{space 4}-.1632919{col 72}{space 3} .0022482
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0141206{col 31}{space 2} .0443332{col 42}{space 1}   -0.32{col 51}{space 3}0.750{col 59}{space 4}-.1010121{col 72}{space 3} .0727709
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0056017{col 31}{space 2} .0369329{col 42}{space 1}    0.15{col 51}{space 3}0.879{col 59}{space 4}-.0667855{col 72}{space 3} .0779889
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0580835{col 31}{space 2} .0347901{col 42}{space 1}   -1.67{col 51}{space 3}0.095{col 59}{space 4}-.1262709{col 72}{space 3} .0101039
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0262792{col 31}{space 2} .0489687{col 42}{space 1}    0.54{col 51}{space 3}0.592{col 59}{space 4}-.0696977{col 72}{space 3} .1222562
{txt}{space 14}24  {c |}{col 19}{res}{space 2} .0010457{col 31}{space 2} .0384547{col 42}{space 1}    0.03{col 51}{space 3}0.978{col 59}{space 4}-.0743242{col 72}{space 3} .0764156
{txt}{space 14}25  {c |}{col 19}{res}{space 2} .0237394{col 31}{space 2} .0382672{col 42}{space 1}    0.62{col 51}{space 3}0.535{col 59}{space 4}-.0512629{col 72}{space 3} .0987417
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0317468{col 31}{space 2}  .041149{col 42}{space 1}    0.77{col 51}{space 3}0.440{col 59}{space 4}-.0489037{col 72}{space 3} .1123972
{txt}{space 14}27  {c |}{col 19}{res}{space 2} .0054273{col 31}{space 2} .0368094{col 42}{space 1}    0.15{col 51}{space 3}0.883{col 59}{space 4}-.0667179{col 72}{space 3} .0775724
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0012939{col 31}{space 2} .0369731{col 42}{space 1}    0.03{col 51}{space 3}0.972{col 59}{space 4} -.071172{col 72}{space 3} .0737598
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0491536{col 31}{space 2} .0451431{col 42}{space 1}    1.09{col 51}{space 3}0.276{col 59}{space 4}-.0393253{col 72}{space 3} .1376326
{txt}{space 14}30  {c |}{col 19}{res}{space 2}-.0052477{col 31}{space 2} .0386062{col 42}{space 1}   -0.14{col 51}{space 3}0.892{col 59}{space 4}-.0809145{col 72}{space 3} .0704192
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0324378{col 31}{space 2} .0398784{col 42}{space 1}    0.81{col 51}{space 3}0.416{col 59}{space 4}-.0457224{col 72}{space 3}  .110598
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0304789{col 31}{space 2}  .036445{col 42}{space 1}    0.84{col 51}{space 3}0.403{col 59}{space 4} -.040952{col 72}{space 3} .1019099
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0559913{col 31}{space 2} .0361971{col 42}{space 1}   -1.55{col 51}{space 3}0.122{col 59}{space 4}-.1269364{col 72}{space 3} .0149538
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0226177{col 31}{space 2} .0352348{col 42}{space 1}   -0.64{col 51}{space 3}0.521{col 59}{space 4}-.0916767{col 72}{space 3} .0464412
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0120893{col 31}{space 2} .0380862{col 42}{space 1}   -0.32{col 51}{space 3}0.751{col 59}{space 4}-.0867368{col 72}{space 3} .0625583
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0025905{col 31}{space 2} .0370885{col 42}{space 1}    0.07{col 51}{space 3}0.944{col 59}{space 4}-.0701017{col 72}{space 3} .0752827
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0391372{col 31}{space 2} .0283391{col 42}{space 1}   -1.38{col 51}{space 3}0.167{col 59}{space 4}-.0946809{col 72}{space 3} .0164064
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0117795{col 31}{space 2} .0463521{col 42}{space 1}   -0.25{col 51}{space 3}0.799{col 59}{space 4} -.102628{col 72}{space 3}  .079069
{txt}{space 14}39  {c |}{col 19}{res}{space 2}-.0001818{col 31}{space 2} .0342007{col 42}{space 1}   -0.01{col 51}{space 3}0.996{col 59}{space 4}-.0672139{col 72}{space 3} .0668503
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0052479{col 31}{space 2} .0385891{col 42}{space 1}    0.14{col 51}{space 3}0.892{col 59}{space 4}-.0703853{col 72}{space 3} .0808811
{txt}{space 14}41  {c |}{col 19}{res}{space 2} .0329736{col 31}{space 2} .0427676{col 42}{space 1}    0.77{col 51}{space 3}0.441{col 59}{space 4}-.0508493{col 72}{space 3} .1167966
{txt}{space 14}42  {c |}{col 19}{res}{space 2}  .026807{col 31}{space 2} .0403124{col 42}{space 1}    0.66{col 51}{space 3}0.506{col 59}{space 4}-.0522038{col 72}{space 3} .1058178
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0236981{col 31}{space 2} .0405877{col 42}{space 1}    0.58{col 51}{space 3}0.559{col 59}{space 4}-.0558523{col 72}{space 3} .1032485
{txt}{space 14}44  {c |}{col 19}{res}{space 2} .0466304{col 31}{space 2} .0515259{col 42}{space 1}    0.90{col 51}{space 3}0.365{col 59}{space 4}-.0543585{col 72}{space 3} .1476193
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0379646{col 31}{space 2} .0414236{col 42}{space 1}    0.92{col 51}{space 3}0.359{col 59}{space 4}-.0432241{col 72}{space 3} .1191533
{txt}{space 14}46  {c |}{col 19}{res}{space 2}-.0010795{col 31}{space 2}   .03924{col 42}{space 1}   -0.03{col 51}{space 3}0.978{col 59}{space 4}-.0779885{col 72}{space 3} .0758295
{txt}{space 14}47  {c |}{col 19}{res}{space 2} .0004151{col 31}{space 2} .0374723{col 42}{space 1}    0.01{col 51}{space 3}0.991{col 59}{space 4}-.0730294{col 72}{space 3} .0738595
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0121817{col 31}{space 2} .0446638{col 42}{space 1}   -0.27{col 51}{space 3}0.785{col 59}{space 4}-.0997212{col 72}{space 3} .0753578
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0340018{col 31}{space 2} .0405891{col 42}{space 1}    0.84{col 51}{space 3}0.402{col 59}{space 4}-.0455514{col 72}{space 3}  .113555
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.1029761{col 31}{space 2} .0372047{col 42}{space 1}   -2.77{col 51}{space 3}0.006{col 59}{space 4} -.175896{col 72}{space 3}-.0300562
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea9.xls, keep(l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea9.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea9.txt""':seeout}

{com}. 
. * Model 4
. xtpcse ydiff l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year < 1998 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       836
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.0647
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}29{txt}){col 67}= {res}    103.27
{txt}Estimated coefficients{col 28}= {res}       46{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0733845{col 31}{space 2} .0585684{col 42}{space 1}   -1.25{col 51}{space 3}0.210{col 59}{space 4}-.1881764{col 72}{space 3} .0414075
{txt}{space 17} {c |}
misalignment_sc~r {c |}{col 19}{res}{space 2} .0013933{col 31}{space 2} .0041372{col 42}{space 1}    0.34{col 51}{space 3}0.736{col 59}{space 4}-.0067155{col 72}{space 3} .0095022
{txt}{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0191107{col 31}{space 2} .0189496{col 42}{space 1}    1.01{col 51}{space 3}0.313{col 59}{space 4}-.0180299{col 72}{space 3} .0562513
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0020819{col 31}{space 2}  .015479{col 42}{space 1}    0.13{col 51}{space 3}0.893{col 59}{space 4}-.0282564{col 72}{space 3} .0324203
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}  .000273{col 31}{space 2} .0003345{col 42}{space 1}    0.82{col 51}{space 3}0.414{col 59}{space 4}-.0003826{col 72}{space 3} .0009287
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0044367{col 31}{space 2} .0090788{col 42}{space 1}    0.49{col 51}{space 3}0.625{col 59}{space 4}-.0133574{col 72}{space 3} .0222307
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0013591{col 31}{space 2} .0004906{col 42}{space 1}    2.77{col 51}{space 3}0.006{col 59}{space 4} .0003977{col 72}{space 3} .0023206
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2}-.0009384{col 31}{space 2} .0016401{col 42}{space 1}   -0.57{col 51}{space 3}0.567{col 59}{space 4}-.0041529{col 72}{space 3} .0022761
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2} .0013814{col 31}{space 2} .0286765{col 42}{space 1}    0.05{col 51}{space 3}0.962{col 59}{space 4}-.0548235{col 72}{space 3} .0575864
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0029366{col 31}{space 2} .0546113{col 42}{space 1}    0.05{col 51}{space 3}0.957{col 59}{space 4}-.1040996{col 72}{space 3} .1099728
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.0252373{col 31}{space 2} .0372696{col 42}{space 1}   -0.68{col 51}{space 3}0.498{col 59}{space 4}-.0982843{col 72}{space 3} .0478098
{txt}{space 15}7  {c |}{col 19}{res}{space 2}  .010665{col 31}{space 2} .0387424{col 42}{space 1}    0.28{col 51}{space 3}0.783{col 59}{space 4}-.0652687{col 72}{space 3} .0865987
{txt}{space 15}8  {c |}{col 19}{res}{space 2}-.0194002{col 31}{space 2} .0330779{col 42}{space 1}   -0.59{col 51}{space 3}0.558{col 59}{space 4}-.0842317{col 72}{space 3} .0454313
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0604814{col 31}{space 2}  .045478{col 42}{space 1}   -1.33{col 51}{space 3}0.184{col 59}{space 4}-.1496166{col 72}{space 3} .0286537
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0194757{col 31}{space 2}  .040772{col 42}{space 1}    0.48{col 51}{space 3}0.633{col 59}{space 4} -.060436{col 72}{space 3} .0993874
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0059889{col 31}{space 2} .0449159{col 42}{space 1}    0.13{col 51}{space 3}0.894{col 59}{space 4}-.0820445{col 72}{space 3} .0940224
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0221825{col 31}{space 2} .0271536{col 42}{space 1}   -0.82{col 51}{space 3}0.414{col 59}{space 4}-.0754026{col 72}{space 3} .0310375
{txt}{space 14}15  {c |}{col 19}{res}{space 2} -.004924{col 31}{space 2} .0396301{col 42}{space 1}   -0.12{col 51}{space 3}0.901{col 59}{space 4}-.0825976{col 72}{space 3} .0727496
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0038623{col 31}{space 2} .0368658{col 42}{space 1}   -0.10{col 51}{space 3}0.917{col 59}{space 4} -.076118{col 72}{space 3} .0683934
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0372553{col 31}{space 2} .0420275{col 42}{space 1}   -0.89{col 51}{space 3}0.375{col 59}{space 4}-.1196276{col 72}{space 3} .0451171
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0806927{col 31}{space 2} .0444963{col 42}{space 1}   -1.81{col 51}{space 3}0.070{col 59}{space 4}-.1679038{col 72}{space 3} .0065185
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0256989{col 31}{space 2} .0460951{col 42}{space 1}   -0.56{col 51}{space 3}0.577{col 59}{space 4}-.1160435{col 72}{space 3} .0646458
{txt}{space 14}21  {c |}{col 19}{res}{space 2}-.0114164{col 31}{space 2} .0377273{col 42}{space 1}   -0.30{col 51}{space 3}0.762{col 59}{space 4}-.0853606{col 72}{space 3} .0625278
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0495263{col 31}{space 2}  .035485{col 42}{space 1}   -1.40{col 51}{space 3}0.163{col 59}{space 4}-.1190757{col 72}{space 3} .0200231
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0141648{col 31}{space 2} .0498665{col 42}{space 1}    0.28{col 51}{space 3}0.776{col 59}{space 4}-.0835718{col 72}{space 3} .1119015
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0087318{col 31}{space 2} .0383474{col 42}{space 1}   -0.23{col 51}{space 3}0.820{col 59}{space 4}-.0838913{col 72}{space 3} .0664276
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0106203{col 31}{space 2} .0419995{col 42}{space 1}    0.25{col 51}{space 3}0.800{col 59}{space 4}-.0716972{col 72}{space 3} .0929378
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0207732{col 31}{space 2}   .03862{col 42}{space 1}   -0.54{col 51}{space 3}0.591{col 59}{space 4} -.096467{col 72}{space 3} .0549205
{txt}{space 14}29  {c |}{col 19}{res}{space 2}  .020667{col 31}{space 2} .0456804{col 42}{space 1}    0.45{col 51}{space 3}0.651{col 59}{space 4} -.068865{col 72}{space 3}  .110199
{txt}{space 14}30  {c |}{col 19}{res}{space 2}-.0133359{col 31}{space 2} .0399704{col 42}{space 1}   -0.33{col 51}{space 3}0.739{col 59}{space 4}-.0916765{col 72}{space 3} .0650048
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0151537{col 31}{space 2} .0402807{col 42}{space 1}    0.38{col 51}{space 3}0.707{col 59}{space 4} -.063795{col 72}{space 3} .0941023
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0170132{col 31}{space 2} .0367579{col 42}{space 1}    0.46{col 51}{space 3}0.643{col 59}{space 4}-.0550309{col 72}{space 3} .0890574
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0481836{col 31}{space 2} .0367046{col 42}{space 1}   -1.31{col 51}{space 3}0.189{col 59}{space 4}-.1201233{col 72}{space 3} .0237562
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0276542{col 31}{space 2} .0356287{col 42}{space 1}   -0.78{col 51}{space 3}0.438{col 59}{space 4}-.0974852{col 72}{space 3} .0421768
{txt}{space 14}35  {c |}{col 19}{res}{space 2} -.019198{col 31}{space 2} .0387557{col 42}{space 1}   -0.50{col 51}{space 3}0.620{col 59}{space 4}-.0951578{col 72}{space 3} .0567617
{txt}{space 14}36  {c |}{col 19}{res}{space 2}-.0106668{col 31}{space 2} .0381171{col 42}{space 1}   -0.28{col 51}{space 3}0.780{col 59}{space 4}-.0853749{col 72}{space 3} .0640413
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0443414{col 31}{space 2} .0288065{col 42}{space 1}   -1.54{col 51}{space 3}0.124{col 59}{space 4}-.1008011{col 72}{space 3} .0121182
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0357027{col 31}{space 2} .0480158{col 42}{space 1}   -0.74{col 51}{space 3}0.457{col 59}{space 4}-.1298119{col 72}{space 3} .0584065
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.0222273{col 31}{space 2}  .039935{col 42}{space 1}   -0.56{col 51}{space 3}0.578{col 59}{space 4}-.1004985{col 72}{space 3}  .056044
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0018292{col 31}{space 2} .0413472{col 42}{space 1}    0.04{col 51}{space 3}0.965{col 59}{space 4}-.0792099{col 72}{space 3} .0828682
{txt}{space 14}45  {c |}{col 19}{res}{space 2}  .016951{col 31}{space 2} .0428673{col 42}{space 1}    0.40{col 51}{space 3}0.693{col 59}{space 4}-.0670674{col 72}{space 3} .1009694
{txt}{space 14}46  {c |}{col 19}{res}{space 2}-.0118245{col 31}{space 2}  .039699{col 42}{space 1}   -0.30{col 51}{space 3}0.766{col 59}{space 4}-.0896331{col 72}{space 3} .0659841
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0021743{col 31}{space 2} .0378116{col 42}{space 1}   -0.06{col 51}{space 3}0.954{col 59}{space 4}-.0762837{col 72}{space 3} .0719351
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0341322{col 31}{space 2} .0462759{col 42}{space 1}   -0.74{col 51}{space 3}0.461{col 59}{space 4}-.1248313{col 72}{space 3}  .056567
{txt}{space 14}49  {c |}{col 19}{res}{space 2}  .013321{col 31}{space 2} .0415477{col 42}{space 1}    0.32{col 51}{space 3}0.748{col 59}{space 4}-.0681109{col 72}{space 3} .0947529
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} -.069108{col 31}{space 2} .0394057{col 42}{space 1}   -1.75{col 51}{space 3}0.079{col 59}{space 4}-.1463418{col 72}{space 3} .0081257
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea9.xls, keep(l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea9.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea9.txt""':seeout}

{com}. 
. * Contemporary period (1998-2019)
. 
. * Model 5
. xtpcse ydiff l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year > 1997 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,078
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.2164
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}29{txt}){col 67}= {res}    179.74
{txt}Estimated coefficients{col 28}= {res}       57{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0841373{col 31}{space 2} .0557398{col 42}{space 1}   -1.51{col 51}{space 3}0.131{col 59}{space 4}-.1933853{col 72}{space 3} .0251107
{txt}{space 17} {c |}
misalignment_sc~r {c |}{col 19}{res}{space 2} .0265433{col 31}{space 2} .0029339{col 42}{space 1}    9.05{col 51}{space 3}0.000{col 59}{space 4}  .020793{col 72}{space 3} .0322936
{txt}{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}   -.0015{col 31}{space 2} .0195842{col 42}{space 1}   -0.08{col 51}{space 3}0.939{col 59}{space 4}-.0398843{col 72}{space 3} .0368843
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0130522{col 31}{space 2} .0091048{col 42}{space 1}   -1.43{col 51}{space 3}0.152{col 59}{space 4}-.0308972{col 72}{space 3} .0047928
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} -.000295{col 31}{space 2} .0004066{col 42}{space 1}   -0.73{col 51}{space 3}0.468{col 59}{space 4}-.0010919{col 72}{space 3}  .000502
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0221099{col 31}{space 2} .0104929{col 42}{space 1}   -2.11{col 51}{space 3}0.035{col 59}{space 4}-.0426755{col 72}{space 3}-.0015443
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}-.0000235{col 31}{space 2} .0004848{col 42}{space 1}   -0.05{col 51}{space 3}0.961{col 59}{space 4}-.0009737{col 72}{space 3} .0009267
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0022409{col 31}{space 2} .0031775{col 42}{space 1}    0.71{col 51}{space 3}0.481{col 59}{space 4}-.0039868{col 72}{space 3} .0084686
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0597923{col 31}{space 2} .0356993{col 42}{space 1}   -1.67{col 51}{space 3}0.094{col 59}{space 4}-.1297617{col 72}{space 3}  .010177
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.033264{col 31}{space 2} .0299646{col 42}{space 1}   -1.11{col 51}{space 3}0.267{col 59}{space 4}-.0919935{col 72}{space 3} .0254655
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0204048{col 31}{space 2} .0248611{col 42}{space 1}    0.82{col 51}{space 3}0.412{col 59}{space 4}-.0283221{col 72}{space 3} .0691317
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .1987867{col 31}{space 2} .0717129{col 42}{space 1}    2.77{col 51}{space 3}0.006{col 59}{space 4} .0582321{col 72}{space 3} .3393414
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0433058{col 31}{space 2} .0247681{col 42}{space 1}    1.75{col 51}{space 3}0.080{col 59}{space 4}-.0052388{col 72}{space 3} .0918505
{txt}{space 15}7  {c |}{col 19}{res}{space 2}  .050386{col 31}{space 2} .0330995{col 42}{space 1}    1.52{col 51}{space 3}0.128{col 59}{space 4}-.0144879{col 72}{space 3} .1152599
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0408451{col 31}{space 2} .0343381{col 42}{space 1}    1.19{col 51}{space 3}0.234{col 59}{space 4}-.0264565{col 72}{space 3} .1081466
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0299824{col 31}{space 2} .0244785{col 42}{space 1}    1.22{col 51}{space 3}0.221{col 59}{space 4}-.0179946{col 72}{space 3} .0779594
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0397309{col 31}{space 2} .0295017{col 42}{space 1}   -1.35{col 51}{space 3}0.178{col 59}{space 4}-.0975531{col 72}{space 3} .0180914
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0217348{col 31}{space 2} .0327277{col 42}{space 1}    0.66{col 51}{space 3}0.507{col 59}{space 4}-.0424103{col 72}{space 3}   .08588
{txt}{space 14}12  {c |}{col 19}{res}{space 2}-.0090068{col 31}{space 2} .0324128{col 42}{space 1}   -0.28{col 51}{space 3}0.781{col 59}{space 4}-.0725348{col 72}{space 3} .0545212
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0015721{col 31}{space 2} .0298931{col 42}{space 1}   -0.05{col 51}{space 3}0.958{col 59}{space 4}-.0601615{col 72}{space 3} .0570172
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0597728{col 31}{space 2} .0298163{col 42}{space 1}    2.00{col 51}{space 3}0.045{col 59}{space 4} .0013341{col 72}{space 3} .1182116
{txt}{space 14}15  {c |}{col 19}{res}{space 2} -.009504{col 31}{space 2} .0309632{col 42}{space 1}   -0.31{col 51}{space 3}0.759{col 59}{space 4}-.0701907{col 72}{space 3} .0511828
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0127276{col 31}{space 2} .0295021{col 42}{space 1}   -0.43{col 51}{space 3}0.666{col 59}{space 4}-.0705506{col 72}{space 3} .0450954
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0555062{col 31}{space 2} .0320559{col 42}{space 1}   -1.73{col 51}{space 3}0.083{col 59}{space 4}-.1183347{col 72}{space 3} .0073222
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.0290429{col 31}{space 2} .0246856{col 42}{space 1}   -1.18{col 51}{space 3}0.239{col 59}{space 4}-.0774259{col 72}{space 3}   .01934
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0828384{col 31}{space 2} .0378089{col 42}{space 1}    2.19{col 51}{space 3}0.028{col 59}{space 4} .0087343{col 72}{space 3} .1569424
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0426485{col 31}{space 2} .0347203{col 42}{space 1}    1.23{col 51}{space 3}0.219{col 59}{space 4} -.025402{col 72}{space 3} .1106991
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0158891{col 31}{space 2}  .042212{col 42}{space 1}    0.38{col 51}{space 3}0.707{col 59}{space 4}-.0668448{col 72}{space 3}  .098623
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0505604{col 31}{space 2} .0282776{col 42}{space 1}    1.79{col 51}{space 3}0.074{col 59}{space 4}-.0048628{col 72}{space 3} .1059835
{txt}{space 14}23  {c |}{col 19}{res}{space 2}-.0068817{col 31}{space 2} .0269478{col 42}{space 1}   -0.26{col 51}{space 3}0.798{col 59}{space 4}-.0596984{col 72}{space 3}  .045935
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0272705{col 31}{space 2} .0263476{col 42}{space 1}   -1.04{col 51}{space 3}0.301{col 59}{space 4}-.0789108{col 72}{space 3} .0243698
{txt}{space 14}25  {c |}{col 19}{res}{space 2} -.058506{col 31}{space 2}  .027976{col 42}{space 1}   -2.09{col 51}{space 3}0.037{col 59}{space 4} -.113338{col 72}{space 3} -.003674
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0327319{col 31}{space 2} .0344781{col 42}{space 1}   -0.95{col 51}{space 3}0.342{col 59}{space 4}-.1003077{col 72}{space 3} .0348439
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.0433784{col 31}{space 2} .0248425{col 42}{space 1}   -1.75{col 51}{space 3}0.081{col 59}{space 4}-.0920688{col 72}{space 3}  .005312
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0032289{col 31}{space 2} .0296055{col 42}{space 1}   -0.11{col 51}{space 3}0.913{col 59}{space 4}-.0612546{col 72}{space 3} .0547967
{txt}{space 14}29  {c |}{col 19}{res}{space 2}-.0115884{col 31}{space 2} .0473655{col 42}{space 1}   -0.24{col 51}{space 3}0.807{col 59}{space 4} -.104423{col 72}{space 3} .0812463
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0540212{col 31}{space 2} .0285796{col 42}{space 1}    1.89{col 51}{space 3}0.059{col 59}{space 4}-.0019938{col 72}{space 3} .1100361
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0201212{col 31}{space 2} .0515072{col 42}{space 1}    0.39{col 51}{space 3}0.696{col 59}{space 4} -.080831{col 72}{space 3} .1210734
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0429702{col 31}{space 2}  .031571{col 42}{space 1}    1.36{col 51}{space 3}0.173{col 59}{space 4}-.0189078{col 72}{space 3} .1048482
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .1645089{col 31}{space 2} .0521601{col 42}{space 1}    3.15{col 51}{space 3}0.002{col 59}{space 4} .0622769{col 72}{space 3} .2667409
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0760898{col 31}{space 2} .0225347{col 42}{space 1}    3.38{col 51}{space 3}0.001{col 59}{space 4} .0319227{col 72}{space 3}  .120257
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0225824{col 31}{space 2} .0227195{col 42}{space 1}   -0.99{col 51}{space 3}0.320{col 59}{space 4}-.0671117{col 72}{space 3}  .021947
{txt}{space 14}36  {c |}{col 19}{res}{space 2}  .030684{col 31}{space 2} .0334265{col 42}{space 1}    0.92{col 51}{space 3}0.359{col 59}{space 4}-.0348308{col 72}{space 3} .0961988
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0663892{col 31}{space 2} .0292299{col 42}{space 1}    2.27{col 51}{space 3}0.023{col 59}{space 4} .0090996{col 72}{space 3} .1236788
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0181375{col 31}{space 2} .0344356{col 42}{space 1}    0.53{col 51}{space 3}0.598{col 59}{space 4} -.049355{col 72}{space 3} .0856299
{txt}{space 14}39  {c |}{col 19}{res}{space 2}-.0059186{col 31}{space 2} .0257066{col 42}{space 1}   -0.23{col 51}{space 3}0.818{col 59}{space 4}-.0563027{col 72}{space 3} .0444654
{txt}{space 14}40  {c |}{col 19}{res}{space 2}  .000238{col 31}{space 2} .0300727{col 42}{space 1}    0.01{col 51}{space 3}0.994{col 59}{space 4}-.0587034{col 72}{space 3} .0591794
{txt}{space 14}41  {c |}{col 19}{res}{space 2}-.0421867{col 31}{space 2} .0392854{col 42}{space 1}   -1.07{col 51}{space 3}0.283{col 59}{space 4}-.1191846{col 72}{space 3} .0348112
{txt}{space 14}42  {c |}{col 19}{res}{space 2} .0038401{col 31}{space 2} .0172411{col 42}{space 1}    0.22{col 51}{space 3}0.824{col 59}{space 4} -.029952{col 72}{space 3} .0376321
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0212938{col 31}{space 2} .0323873{col 42}{space 1}    0.66{col 51}{space 3}0.511{col 59}{space 4}-.0421842{col 72}{space 3} .0847719
{txt}{space 14}44  {c |}{col 19}{res}{space 2}-.0268155{col 31}{space 2}  .029165{col 42}{space 1}   -0.92{col 51}{space 3}0.358{col 59}{space 4}-.0839779{col 72}{space 3} .0303468
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0201749{col 31}{space 2} .0407187{col 42}{space 1}    0.50{col 51}{space 3}0.620{col 59}{space 4}-.0596323{col 72}{space 3} .0999821
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0492489{col 31}{space 2} .0372085{col 42}{space 1}    1.32{col 51}{space 3}0.186{col 59}{space 4}-.0236785{col 72}{space 3} .1221763
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0063206{col 31}{space 2} .0302441{col 42}{space 1}   -0.21{col 51}{space 3}0.834{col 59}{space 4} -.065598{col 72}{space 3} .0529568
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0781638{col 31}{space 2} .0284063{col 42}{space 1}   -2.75{col 51}{space 3}0.006{col 59}{space 4}-.1338392{col 72}{space 3}-.0224885
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0258064{col 31}{space 2} .0335123{col 42}{space 1}   -0.77{col 51}{space 3}0.441{col 59}{space 4}-.0914894{col 72}{space 3} .0398766
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.1065782{col 31}{space 2} .0344703{col 42}{space 1}   -3.09{col 51}{space 3}0.002{col 59}{space 4}-.1741386{col 72}{space 3}-.0390177
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea9.xls, keep(l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea9.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea9.txt""':seeout}

{com}. 
. * Model 6
. xtpcse ydiff l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year > 1997 & south == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       836
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.2160
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}29{txt}){col 67}= {res}    286.43
{txt}Estimated coefficients{col 28}= {res}       46{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0908009{col 31}{space 2} .0575747{col 42}{space 1}   -1.58{col 51}{space 3}0.115{col 59}{space 4}-.2036452{col 72}{space 3} .0220435
{txt}{space 17} {c |}
misalignment_sc~r {c |}{col 19}{res}{space 2} .0315452{col 31}{space 2} .0036767{col 42}{space 1}    8.58{col 51}{space 3}0.000{col 59}{space 4}  .024339{col 72}{space 3} .0387515
{txt}{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0106811{col 31}{space 2} .0251643{col 42}{space 1}    0.42{col 51}{space 3}0.671{col 59}{space 4}-.0386401{col 72}{space 3} .0600023
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0140716{col 31}{space 2} .0097432{col 42}{space 1}   -1.44{col 51}{space 3}0.149{col 59}{space 4}-.0331678{col 72}{space 3} .0050247
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}-.0002739{col 31}{space 2} .0004625{col 42}{space 1}   -0.59{col 51}{space 3}0.554{col 59}{space 4}-.0011803{col 72}{space 3} .0006324
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0212116{col 31}{space 2} .0116518{col 42}{space 1}   -1.82{col 51}{space 3}0.069{col 59}{space 4}-.0440486{col 72}{space 3} .0016254
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}-.0002923{col 31}{space 2} .0005243{col 42}{space 1}   -0.56{col 51}{space 3}0.577{col 59}{space 4}-.0013198{col 72}{space 3} .0007352
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0028492{col 31}{space 2} .0035981{col 42}{space 1}    0.79{col 51}{space 3}0.428{col 59}{space 4}-.0042028{col 72}{space 3} .0099013
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2} .0232742{col 31}{space 2} .0254771{col 42}{space 1}    0.91{col 51}{space 3}0.361{col 59}{space 4}-.0266601{col 72}{space 3} .0732085
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .1842744{col 31}{space 2} .0780705{col 42}{space 1}    2.36{col 51}{space 3}0.018{col 59}{space 4}  .031259{col 72}{space 3} .3372897
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0396911{col 31}{space 2} .0254183{col 42}{space 1}    1.56{col 51}{space 3}0.118{col 59}{space 4}-.0101279{col 72}{space 3} .0895101
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0532988{col 31}{space 2} .0360193{col 42}{space 1}    1.48{col 51}{space 3}0.139{col 59}{space 4}-.0172978{col 72}{space 3} .1238954
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0373871{col 31}{space 2} .0365485{col 42}{space 1}    1.02{col 51}{space 3}0.306{col 59}{space 4}-.0342466{col 72}{space 3} .1090207
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0085518{col 31}{space 2} .0375265{col 42}{space 1}    0.23{col 51}{space 3}0.820{col 59}{space 4}-.0649988{col 72}{space 3} .0821025
{txt}{space 14}12  {c |}{col 19}{res}{space 2}-.0112625{col 31}{space 2} .0330436{col 42}{space 1}   -0.34{col 51}{space 3}0.733{col 59}{space 4}-.0760269{col 72}{space 3} .0535018
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0011858{col 31}{space 2} .0307092{col 42}{space 1}    0.04{col 51}{space 3}0.969{col 59}{space 4}-.0590031{col 72}{space 3} .0613747
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0504372{col 31}{space 2} .0317107{col 42}{space 1}    1.59{col 51}{space 3}0.112{col 59}{space 4}-.0117147{col 72}{space 3} .1125891
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0077178{col 31}{space 2} .0317952{col 42}{space 1}   -0.24{col 51}{space 3}0.808{col 59}{space 4}-.0700352{col 72}{space 3} .0545997
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0115263{col 31}{space 2} .0311749{col 42}{space 1}   -0.37{col 51}{space 3}0.712{col 59}{space 4} -.072628{col 72}{space 3} .0495754
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0607506{col 31}{space 2} .0328066{col 42}{space 1}   -1.85{col 51}{space 3}0.064{col 59}{space 4}-.1250503{col 72}{space 3} .0035491
{txt}{space 14}19  {c |}{col 19}{res}{space 2}  .072108{col 31}{space 2} .0427992{col 42}{space 1}    1.68{col 51}{space 3}0.092{col 59}{space 4}-.0117768{col 72}{space 3} .1559928
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0269378{col 31}{space 2} .0387041{col 42}{space 1}    0.70{col 51}{space 3}0.486{col 59}{space 4}-.0489208{col 72}{space 3} .1027964
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0164753{col 31}{space 2} .0449104{col 42}{space 1}    0.37{col 51}{space 3}0.714{col 59}{space 4}-.0715474{col 72}{space 3}  .104498
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0534204{col 31}{space 2} .0292625{col 42}{space 1}    1.83{col 51}{space 3}0.068{col 59}{space 4}-.0039331{col 72}{space 3} .1107739
{txt}{space 14}23  {c |}{col 19}{res}{space 2}-.0083461{col 31}{space 2}   .02897{col 42}{space 1}   -0.29{col 51}{space 3}0.773{col 59}{space 4}-.0651262{col 72}{space 3}  .048434
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0289334{col 31}{space 2} .0270673{col 42}{space 1}   -1.07{col 51}{space 3}0.285{col 59}{space 4}-.0819843{col 72}{space 3} .0241174
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0306181{col 31}{space 2} .0367394{col 42}{space 1}   -0.83{col 51}{space 3}0.405{col 59}{space 4} -.102626{col 72}{space 3} .0413898
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0061816{col 31}{space 2} .0323533{col 42}{space 1}    0.19{col 51}{space 3}0.848{col 59}{space 4}-.0572297{col 72}{space 3} .0695929
{txt}{space 14}29  {c |}{col 19}{res}{space 2}-.0124055{col 31}{space 2} .0503165{col 42}{space 1}   -0.25{col 51}{space 3}0.805{col 59}{space 4} -.111024{col 72}{space 3}  .086213
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0528611{col 31}{space 2} .0305162{col 42}{space 1}    1.73{col 51}{space 3}0.083{col 59}{space 4}-.0069495{col 72}{space 3} .1126718
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0168125{col 31}{space 2} .0535363{col 42}{space 1}    0.31{col 51}{space 3}0.753{col 59}{space 4}-.0881166{col 72}{space 3} .1217417
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0429455{col 31}{space 2} .0334606{col 42}{space 1}    1.28{col 51}{space 3}0.199{col 59}{space 4}-.0226361{col 72}{space 3} .1085272
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .1611182{col 31}{space 2} .0560526{col 42}{space 1}    2.87{col 51}{space 3}0.004{col 59}{space 4} .0512571{col 72}{space 3} .2709794
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0804829{col 31}{space 2}  .023643{col 42}{space 1}    3.40{col 51}{space 3}0.001{col 59}{space 4} .0341435{col 72}{space 3} .1268222
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0282854{col 31}{space 2} .0234784{col 42}{space 1}   -1.20{col 51}{space 3}0.228{col 59}{space 4}-.0743022{col 72}{space 3} .0177315
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0268571{col 31}{space 2} .0351227{col 42}{space 1}    0.76{col 51}{space 3}0.444{col 59}{space 4}-.0419822{col 72}{space 3} .0956964
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0675042{col 31}{space 2} .0308892{col 42}{space 1}    2.19{col 51}{space 3}0.029{col 59}{space 4} .0069625{col 72}{space 3}  .128046
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0093183{col 31}{space 2} .0398031{col 42}{space 1}    0.23{col 51}{space 3}0.815{col 59}{space 4}-.0686945{col 72}{space 3}  .087331
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0084746{col 31}{space 2} .0326648{col 42}{space 1}    0.26{col 51}{space 3}0.795{col 59}{space 4}-.0555472{col 72}{space 3} .0724964
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0256577{col 31}{space 2}  .034119{col 42}{space 1}    0.75{col 51}{space 3}0.452{col 59}{space 4}-.0412144{col 72}{space 3} .0925297
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0238932{col 31}{space 2} .0452992{col 42}{space 1}    0.53{col 51}{space 3}0.598{col 59}{space 4}-.0648915{col 72}{space 3}  .112678
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0414499{col 31}{space 2} .0387856{col 42}{space 1}    1.07{col 51}{space 3}0.285{col 59}{space 4}-.0345685{col 72}{space 3} .1174683
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0061558{col 31}{space 2} .0306907{col 42}{space 1}   -0.20{col 51}{space 3}0.841{col 59}{space 4}-.0663084{col 72}{space 3} .0539968
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0925702{col 31}{space 2} .0314691{col 42}{space 1}   -2.94{col 51}{space 3}0.003{col 59}{space 4}-.1542486{col 72}{space 3}-.0308918
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0250309{col 31}{space 2} .0356168{col 42}{space 1}   -0.70{col 51}{space 3}0.482{col 59}{space 4}-.0948385{col 72}{space 3} .0447767
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.1113307{col 31}{space 2} .0356955{col 42}{space 1}   -3.12{col 51}{space 3}0.002{col 59}{space 4}-.1812925{col 72}{space 3}-.0413688
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea9.xls, keep(l.ydiff misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea9.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea9.txt""':seeout}

{com}. 
. 
. ****************************************************
. *
. * For Appendix: omitting CA & TX
. *
. ****************************************************
. 
. 
. * Full panel (1976-2019)
. 
. * Model 1
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if nocatx == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     2,068
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        47
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}     1128{col 49}{txt}R-squared{col 67}= {res}    0.1047
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}56{txt}){col 67}= {res}   7329.16
{txt}Estimated coefficients{col 28}= {res}       60{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0519087{col 31}{space 2} .0324868{col 42}{space 1}   -1.60{col 51}{space 3}0.110{col 59}{space 4}-.1155817{col 72}{space 3} .0117643
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0593707{col 31}{space 2}  .017395{col 42}{space 1}   -3.41{col 51}{space 3}0.001{col 59}{space 4}-.0934643{col 72}{space 3}-.0252771
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0241051{col 31}{space 2} .0072198{col 42}{space 1}   -3.34{col 51}{space 3}0.001{col 59}{space 4}-.0382556{col 72}{space 3}-.0099545
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.013275{col 31}{space 2} .0110458{col 42}{space 1}   -1.20{col 51}{space 3}0.229{col 59}{space 4}-.0349244{col 72}{space 3} .0083744
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0089193{col 31}{space 2} .0100893{col 42}{space 1}    0.88{col 51}{space 3}0.377{col 59}{space 4}-.0108554{col 72}{space 3} .0286941
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0399612{col 31}{space 2} .0069885{col 42}{space 1}    5.72{col 51}{space 3}0.000{col 59}{space 4}  .026264{col 72}{space 3} .0536583
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0704773{col 31}{space 2} .0160703{col 42}{space 1}    4.39{col 51}{space 3}0.000{col 59}{space 4} .0389801{col 72}{space 3} .1019746
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0028675{col 31}{space 2} .0091422{col 42}{space 1}    0.31{col 51}{space 3}0.754{col 59}{space 4}-.0150509{col 72}{space 3} .0207859
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0006943{col 31}{space 2} .0082652{col 42}{space 1}   -0.08{col 51}{space 3}0.933{col 59}{space 4}-.0168938{col 72}{space 3} .0155053
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0004778{col 31}{space 2} .0002057{col 42}{space 1}    2.32{col 51}{space 3}0.020{col 59}{space 4} .0000746{col 72}{space 3} .0008809
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}   .00577{col 31}{space 2} .0054407{col 42}{space 1}    1.06{col 51}{space 3}0.289{col 59}{space 4}-.0048937{col 72}{space 3} .0164336
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0007575{col 31}{space 2} .0003101{col 42}{space 1}    2.44{col 51}{space 3}0.015{col 59}{space 4} .0001497{col 72}{space 3} .0013654
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0013568{col 31}{space 2} .0015103{col 42}{space 1}    0.90{col 51}{space 3}0.369{col 59}{space 4}-.0016034{col 72}{space 3}  .004317
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0049333{col 31}{space 2} .0270472{col 42}{space 1}   -0.18{col 51}{space 3}0.855{col 59}{space 4}-.0579447{col 72}{space 3} .0480782
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.012096{col 31}{space 2} .0243516{col 42}{space 1}   -0.50{col 51}{space 3}0.619{col 59}{space 4}-.0598244{col 72}{space 3} .0356323
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0131836{col 31}{space 2} .0188543{col 42}{space 1}    0.70{col 51}{space 3}0.484{col 59}{space 4}  -.02377{col 72}{space 3} .0501373
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0139316{col 31}{space 2} .0229538{col 42}{space 1}    0.61{col 51}{space 3}0.544{col 59}{space 4}-.0310571{col 72}{space 3} .0589203
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0184352{col 31}{space 2} .0236281{col 42}{space 1}    0.78{col 51}{space 3}0.435{col 59}{space 4} -.027875{col 72}{space 3} .0647454
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0127897{col 31}{space 2} .0228623{col 42}{space 1}    0.56{col 51}{space 3}0.576{col 59}{space 4}-.0320195{col 72}{space 3}  .057599
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0097247{col 31}{space 2} .0241832{col 42}{space 1}    0.40{col 51}{space 3}0.688{col 59}{space 4}-.0376736{col 72}{space 3}  .057123
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0159288{col 31}{space 2} .0215938{col 42}{space 1}   -0.74{col 51}{space 3}0.461{col 59}{space 4}-.0582519{col 72}{space 3} .0263943
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0374077{col 31}{space 2} .0252509{col 42}{space 1}   -1.48{col 51}{space 3}0.138{col 59}{space 4}-.0868986{col 72}{space 3} .0120832
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0183166{col 31}{space 2} .0250898{col 42}{space 1}    0.73{col 51}{space 3}0.465{col 59}{space 4}-.0308585{col 72}{space 3} .0674918
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0238616{col 31}{space 2} .0255777{col 42}{space 1}    0.93{col 51}{space 3}0.351{col 59}{space 4}-.0262696{col 72}{space 3} .0739929
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0034317{col 31}{space 2} .0198604{col 42}{space 1}    0.17{col 51}{space 3}0.863{col 59}{space 4}-.0354939{col 72}{space 3} .0423573
{txt}{space 14}15  {c |}{col 19}{res}{space 2}  .014028{col 31}{space 2} .0240911{col 42}{space 1}    0.58{col 51}{space 3}0.560{col 59}{space 4}-.0331898{col 72}{space 3} .0612457
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0184541{col 31}{space 2} .0217408{col 42}{space 1}    0.85{col 51}{space 3}0.396{col 59}{space 4}-.0241572{col 72}{space 3} .0610654
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0234413{col 31}{space 2} .0231894{col 42}{space 1}   -1.01{col 51}{space 3}0.312{col 59}{space 4}-.0688917{col 72}{space 3} .0220092
{txt}{space 14}18  {c |}{col 19}{res}{space 2} .0028021{col 31}{space 2} .0246553{col 42}{space 1}    0.11{col 51}{space 3}0.910{col 59}{space 4}-.0455213{col 72}{space 3} .0511256
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0324604{col 31}{space 2}  .026648{col 42}{space 1}   -1.22{col 51}{space 3}0.223{col 59}{space 4}-.0846895{col 72}{space 3} .0197688
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0032976{col 31}{space 2} .0269874{col 42}{space 1}   -0.12{col 51}{space 3}0.903{col 59}{space 4}-.0561919{col 72}{space 3} .0495968
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0122872{col 31}{space 2} .0263275{col 42}{space 1}    0.47{col 51}{space 3}0.641{col 59}{space 4}-.0393138{col 72}{space 3} .0638882
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0329417{col 31}{space 2} .0213695{col 42}{space 1}   -1.54{col 51}{space 3}0.123{col 59}{space 4}-.0748252{col 72}{space 3} .0089418
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0046043{col 31}{space 2} .0266215{col 42}{space 1}    0.17{col 51}{space 3}0.863{col 59}{space 4}-.0475729{col 72}{space 3} .0567815
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0154919{col 31}{space 2} .0228118{col 42}{space 1}   -0.68{col 51}{space 3}0.497{col 59}{space 4}-.0602022{col 72}{space 3} .0292184
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.0098546{col 31}{space 2} .0216728{col 42}{space 1}   -0.45{col 51}{space 3}0.649{col 59}{space 4}-.0523325{col 72}{space 3} .0326234
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0195876{col 31}{space 2} .0247636{col 42}{space 1}    0.79{col 51}{space 3}0.429{col 59}{space 4}-.0289482{col 72}{space 3} .0681233
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.0161667{col 31}{space 2} .0206109{col 42}{space 1}   -0.78{col 51}{space 3}0.433{col 59}{space 4}-.0565634{col 72}{space 3}   .02423
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0190542{col 31}{space 2} .0212632{col 42}{space 1}    0.90{col 51}{space 3}0.370{col 59}{space 4}-.0226209{col 72}{space 3} .0607292
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0429302{col 31}{space 2} .0300887{col 42}{space 1}    1.43{col 51}{space 3}0.154{col 59}{space 4}-.0160425{col 72}{space 3} .1019029
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0113827{col 31}{space 2} .0234776{col 42}{space 1}    0.48{col 51}{space 3}0.628{col 59}{space 4}-.0346325{col 72}{space 3} .0573979
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0334181{col 31}{space 2}  .030931{col 42}{space 1}    1.08{col 51}{space 3}0.280{col 59}{space 4}-.0272055{col 72}{space 3} .0940417
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0364066{col 31}{space 2} .0229749{col 42}{space 1}    1.58{col 51}{space 3}0.113{col 59}{space 4}-.0086234{col 72}{space 3} .0814366
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0136034{col 31}{space 2} .0269782{col 42}{space 1}   -0.50{col 51}{space 3}0.614{col 59}{space 4}-.0664798{col 72}{space 3}  .039273
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0017456{col 31}{space 2} .0200723{col 42}{space 1}   -0.09{col 51}{space 3}0.931{col 59}{space 4}-.0410866{col 72}{space 3} .0375954
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0068606{col 31}{space 2}   .02166{col 42}{space 1}   -0.32{col 51}{space 3}0.751{col 59}{space 4}-.0493133{col 72}{space 3} .0355922
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0146527{col 31}{space 2}  .023949{col 42}{space 1}    0.61{col 51}{space 3}0.541{col 59}{space 4}-.0322864{col 72}{space 3} .0615918
{txt}{space 14}37  {c |}{col 19}{res}{space 2} -.026698{col 31}{space 2} .0184709{col 42}{space 1}   -1.45{col 51}{space 3}0.148{col 59}{space 4}-.0629003{col 72}{space 3} .0095042
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0123812{col 31}{space 2} .0266681{col 42}{space 1}   -0.46{col 51}{space 3}0.642{col 59}{space 4}-.0646498{col 72}{space 3} .0398873
{txt}{space 14}39  {c |}{col 19}{res}{space 2} .0009053{col 31}{space 2}  .020565{col 42}{space 1}    0.04{col 51}{space 3}0.965{col 59}{space 4}-.0394013{col 72}{space 3}  .041212
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0225874{col 31}{space 2} .0222887{col 42}{space 1}    1.01{col 51}{space 3}0.311{col 59}{space 4}-.0210977{col 72}{space 3} .0662725
{txt}{space 14}41  {c |}{col 19}{res}{space 2} .0034606{col 31}{space 2} .0276105{col 42}{space 1}    0.13{col 51}{space 3}0.900{col 59}{space 4}-.0506549{col 72}{space 3} .0575762
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0497424{col 31}{space 2} .0244235{col 42}{space 1}    2.04{col 51}{space 3}0.042{col 59}{space 4} .0018733{col 72}{space 3} .0976115
{txt}{space 14}44  {c |}{col 19}{res}{space 2}  .010285{col 31}{space 2} .0279198{col 42}{space 1}    0.37{col 51}{space 3}0.713{col 59}{space 4}-.0444369{col 72}{space 3} .0650069
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0240864{col 31}{space 2} .0266904{col 42}{space 1}    0.90{col 51}{space 3}0.367{col 59}{space 4}-.0282258{col 72}{space 3} .0763986
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0148667{col 31}{space 2} .0262144{col 42}{space 1}    0.57{col 51}{space 3}0.571{col 59}{space 4}-.0365125{col 72}{space 3} .0662459
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0259503{col 31}{space 2} .0234237{col 42}{space 1}   -1.11{col 51}{space 3}0.268{col 59}{space 4}  -.07186{col 72}{space 3} .0199594
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0332017{col 31}{space 2} .0239001{col 42}{space 1}   -1.39{col 51}{space 3}0.165{col 59}{space 4} -.080045{col 72}{space 3} .0136417
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0347561{col 31}{space 2} .0238885{col 42}{space 1}    1.45{col 51}{space 3}0.146{col 59}{space 4}-.0120644{col 72}{space 3} .0815766
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0442242{col 31}{space 2}  .022815{col 42}{space 1}   -1.94{col 51}{space 3}0.053{col 59}{space 4}-.0889408{col 72}{space 3} .0004924
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea10.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) replace dec(2) pdec(3)
{txt}{browse `"tablea10.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea10.txt""':seeout}

{com}. 
. * Model 2
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if south == 0 & nocatx == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,628
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        37
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        44
{txt}{col 63}avg{col 67}= {res}        44
{txt}{col 63}max{col 67}= {res}        44
{txt}Estimated covariances{col 28}= {res}      703{col 49}{txt}R-squared{col 67}= {res}    0.1108
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}49{txt}){col 67}= {res}   1680.70
{txt}Estimated coefficients{col 28}= {res}       50{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0464209{col 31}{space 2} .0347475{col 42}{space 1}   -1.34{col 51}{space 3}0.182{col 59}{space 4}-.1145248{col 72}{space 3}  .021683
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0577784{col 31}{space 2} .0196404{col 42}{space 1}   -2.94{col 51}{space 3}0.003{col 59}{space 4}-.0962728{col 72}{space 3}-.0192839
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0192652{col 31}{space 2} .0079224{col 42}{space 1}   -2.43{col 51}{space 3}0.015{col 59}{space 4}-.0347928{col 72}{space 3}-.0037377
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0136989{col 31}{space 2} .0126605{col 42}{space 1}   -1.08{col 51}{space 3}0.279{col 59}{space 4} -.038513{col 72}{space 3} .0111152
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0035193{col 31}{space 2} .0119034{col 42}{space 1}    0.30{col 51}{space 3}0.767{col 59}{space 4} -.019811{col 72}{space 3} .0268496
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0377941{col 31}{space 2} .0086861{col 42}{space 1}    4.35{col 51}{space 3}0.000{col 59}{space 4} .0207698{col 72}{space 3} .0548185
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0826185{col 31}{space 2} .0180527{col 42}{space 1}    4.58{col 51}{space 3}0.000{col 59}{space 4} .0472359{col 72}{space 3} .1180012
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} -.003236{col 31}{space 2} .0130462{col 42}{space 1}   -0.25{col 51}{space 3}0.804{col 59}{space 4} -.028806{col 72}{space 3}  .022334
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0044386{col 31}{space 2} .0086501{col 42}{space 1}    0.51{col 51}{space 3}0.608{col 59}{space 4}-.0125152{col 72}{space 3} .0213924
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0006838{col 31}{space 2} .0002336{col 42}{space 1}    2.93{col 51}{space 3}0.003{col 59}{space 4}  .000226{col 72}{space 3} .0011416
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0029332{col 31}{space 2} .0060337{col 42}{space 1}    0.49{col 51}{space 3}0.627{col 59}{space 4}-.0088927{col 72}{space 3} .0147591
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0008156{col 31}{space 2} .0003547{col 42}{space 1}    2.30{col 51}{space 3}0.021{col 59}{space 4} .0001204{col 72}{space 3} .0015108
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} 4.22e-06{col 31}{space 2} .0016114{col 42}{space 1}    0.00{col 51}{space 3}0.998{col 59}{space 4} -.003154{col 72}{space 3} .0031625
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2} .0081461{col 31}{space 2} .0189428{col 42}{space 1}    0.43{col 51}{space 3}0.667{col 59}{space 4}-.0289811{col 72}{space 3} .0452732
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0086554{col 31}{space 2} .0233759{col 42}{space 1}    0.37{col 51}{space 3}0.711{col 59}{space 4}-.0371606{col 72}{space 3} .0544713
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0096192{col 31}{space 2} .0244622{col 42}{space 1}    0.39{col 51}{space 3}0.694{col 59}{space 4}-.0383258{col 72}{space 3} .0575641
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0031567{col 31}{space 2} .0234942{col 42}{space 1}    0.13{col 51}{space 3}0.893{col 59}{space 4} -.042891{col 72}{space 3} .0492044
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0420947{col 31}{space 2} .0261658{col 42}{space 1}   -1.61{col 51}{space 3}0.108{col 59}{space 4}-.0933788{col 72}{space 3} .0091894
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0094247{col 31}{space 2} .0255892{col 42}{space 1}    0.37{col 51}{space 3}0.713{col 59}{space 4}-.0407292{col 72}{space 3} .0595786
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0169196{col 31}{space 2} .0261189{col 42}{space 1}    0.65{col 51}{space 3}0.517{col 59}{space 4}-.0342726{col 72}{space 3} .0681117
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0033889{col 31}{space 2} .0199915{col 42}{space 1}   -0.17{col 51}{space 3}0.865{col 59}{space 4}-.0425715{col 72}{space 3} .0357937
{txt}{space 14}15  {c |}{col 19}{res}{space 2}  .002772{col 31}{space 2} .0245834{col 42}{space 1}    0.11{col 51}{space 3}0.910{col 59}{space 4}-.0454106{col 72}{space 3} .0509547
{txt}{space 14}16  {c |}{col 19}{res}{space 2} .0100579{col 31}{space 2} .0223275{col 42}{space 1}    0.45{col 51}{space 3}0.652{col 59}{space 4}-.0337032{col 72}{space 3} .0538189
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0267355{col 31}{space 2} .0243708{col 42}{space 1}   -1.10{col 51}{space 3}0.273{col 59}{space 4}-.0745014{col 72}{space 3} .0210304
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0333285{col 31}{space 2} .0274614{col 42}{space 1}   -1.21{col 51}{space 3}0.225{col 59}{space 4}-.0871518{col 72}{space 3} .0204949
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0059248{col 31}{space 2} .0281418{col 42}{space 1}   -0.21{col 51}{space 3}0.833{col 59}{space 4}-.0610817{col 72}{space 3} .0492321
{txt}{space 14}21  {c |}{col 19}{res}{space 2} -.000731{col 31}{space 2} .0270477{col 42}{space 1}   -0.03{col 51}{space 3}0.978{col 59}{space 4}-.0537435{col 72}{space 3} .0522814
{txt}{space 14}22  {c |}{col 19}{res}{space 2} -.035158{col 31}{space 2} .0219041{col 42}{space 1}   -1.61{col 51}{space 3}0.108{col 59}{space 4}-.0780893{col 72}{space 3} .0077732
{txt}{space 14}23  {c |}{col 19}{res}{space 2}-.0046352{col 31}{space 2} .0272175{col 42}{space 1}   -0.17{col 51}{space 3}0.865{col 59}{space 4}-.0579805{col 72}{space 3} .0487101
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0210301{col 31}{space 2} .0229625{col 42}{space 1}   -0.92{col 51}{space 3}0.360{col 59}{space 4}-.0660357{col 72}{space 3} .0239755
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0100781{col 31}{space 2} .0257043{col 42}{space 1}    0.39{col 51}{space 3}0.695{col 59}{space 4}-.0403013{col 72}{space 3} .0604575
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0075898{col 31}{space 2} .0226213{col 42}{space 1}    0.34{col 51}{space 3}0.737{col 59}{space 4}-.0367471{col 72}{space 3} .0519267
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0301119{col 31}{space 2} .0310517{col 42}{space 1}    0.97{col 51}{space 3}0.332{col 59}{space 4}-.0307482{col 72}{space 3}  .090972
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0024036{col 31}{space 2} .0240319{col 42}{space 1}    0.10{col 51}{space 3}0.920{col 59}{space 4}-.0446981{col 72}{space 3} .0495053
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0225045{col 31}{space 2} .0316768{col 42}{space 1}    0.71{col 51}{space 3}0.477{col 59}{space 4}-.0395809{col 72}{space 3} .0845898
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0292246{col 31}{space 2} .0235021{col 42}{space 1}    1.24{col 51}{space 3}0.214{col 59}{space 4}-.0168386{col 72}{space 3} .0752878
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0142046{col 31}{space 2}  .028095{col 42}{space 1}   -0.51{col 51}{space 3}0.613{col 59}{space 4}-.0692699{col 72}{space 3} .0408607
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0076308{col 31}{space 2} .0201658{col 42}{space 1}   -0.38{col 51}{space 3}0.705{col 59}{space 4} -.047155{col 72}{space 3} .0318934
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0062744{col 31}{space 2} .0222866{col 42}{space 1}   -0.28{col 51}{space 3}0.778{col 59}{space 4}-.0499553{col 72}{space 3} .0374064
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0047944{col 31}{space 2} .0248203{col 42}{space 1}    0.19{col 51}{space 3}0.847{col 59}{space 4}-.0438525{col 72}{space 3} .0534414
{txt}{space 14}37  {c |}{col 19}{res}{space 2} -.030644{col 31}{space 2} .0188824{col 42}{space 1}   -1.62{col 51}{space 3}0.105{col 59}{space 4}-.0676528{col 72}{space 3} .0063648
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0214157{col 31}{space 2} .0279711{col 42}{space 1}   -0.77{col 51}{space 3}0.444{col 59}{space 4}-.0762381{col 72}{space 3} .0334066
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0079706{col 31}{space 2} .0233646{col 42}{space 1}    0.34{col 51}{space 3}0.733{col 59}{space 4}-.0378231{col 72}{space 3} .0537643
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0410208{col 31}{space 2} .0252876{col 42}{space 1}    1.62{col 51}{space 3}0.105{col 59}{space 4} -.008542{col 72}{space 3} .0905836
{txt}{space 14}45  {c |}{col 19}{res}{space 2}   .00964{col 31}{space 2} .0281172{col 42}{space 1}    0.34{col 51}{space 3}0.732{col 59}{space 4}-.0454687{col 72}{space 3} .0647488
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0062562{col 31}{space 2} .0264865{col 42}{space 1}    0.24{col 51}{space 3}0.813{col 59}{space 4}-.0456565{col 72}{space 3} .0581688
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0308318{col 31}{space 2} .0237519{col 42}{space 1}   -1.30{col 51}{space 3}0.194{col 59}{space 4}-.0773847{col 72}{space 3} .0157211
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0376638{col 31}{space 2} .0252558{col 42}{space 1}   -1.49{col 51}{space 3}0.136{col 59}{space 4}-.0871644{col 72}{space 3} .0118367
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0266834{col 31}{space 2}  .024952{col 42}{space 1}    1.07{col 51}{space 3}0.285{col 59}{space 4}-.0222217{col 72}{space 3} .0755884
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0394363{col 31}{space 2} .0245233{col 42}{space 1}   -1.61{col 51}{space 3}0.108{col 59}{space 4}-.0875011{col 72}{space 3} .0086285
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea10.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea10.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea10.txt""':seeout}

{com}. 
. * Early period (1976-1997)
. 
. * Model 3
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year < 1998 & nocatx == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,034
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        47
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1128{col 49}{txt}R-squared{col 67}= {res}    0.0618
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}32{txt}){col 67}= {res}     62.73
{txt}Estimated coefficients{col 28}= {res}       58{col 49}{txt}Prob > chi2{col 67}= {res}    0.0009

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0819873{col 31}{space 2} .0564739{col 42}{space 1}   -1.45{col 51}{space 3}0.147{col 59}{space 4}-.1926742{col 72}{space 3} .0286996
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0477276{col 31}{space 2} .0248228{col 42}{space 1}   -1.92{col 51}{space 3}0.055{col 59}{space 4}-.0963793{col 72}{space 3} .0009241
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0086429{col 31}{space 2} .0117864{col 42}{space 1}    0.73{col 51}{space 3}0.463{col 59}{space 4} -.014458{col 72}{space 3} .0317438
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0059413{col 31}{space 2} .0130055{col 42}{space 1}    0.46{col 51}{space 3}0.648{col 59}{space 4}-.0195489{col 72}{space 3} .0314316
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0209395{col 31}{space 2} .0103565{col 42}{space 1}    2.02{col 51}{space 3}0.043{col 59}{space 4} .0006412{col 72}{space 3} .0412377
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0050573{col 31}{space 2} .0158608{col 42}{space 1}    0.32{col 51}{space 3}0.750{col 59}{space 4}-.0260294{col 72}{space 3} .0361439
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0010574{col 31}{space 2} .0154169{col 42}{space 1}   -0.07{col 51}{space 3}0.945{col 59}{space 4}-.0312739{col 72}{space 3} .0291591
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0002134{col 31}{space 2} .0002777{col 42}{space 1}    0.77{col 51}{space 3}0.442{col 59}{space 4}-.0003308{col 72}{space 3} .0007576
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2} .0084374{col 31}{space 2} .0088546{col 42}{space 1}    0.95{col 51}{space 3}0.341{col 59}{space 4}-.0089173{col 72}{space 3} .0257921
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0011438{col 31}{space 2} .0004486{col 42}{space 1}    2.55{col 51}{space 3}0.011{col 59}{space 4} .0002645{col 72}{space 3} .0020231
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0010032{col 31}{space 2} .0015691{col 42}{space 1}    0.64{col 51}{space 3}0.523{col 59}{space 4}-.0020721{col 72}{space 3} .0040786
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2} .0062833{col 31}{space 2} .0463231{col 42}{space 1}    0.14{col 51}{space 3}0.892{col 59}{space 4}-.0845083{col 72}{space 3}  .097075
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.009545{col 31}{space 2} .0453136{col 42}{space 1}   -0.21{col 51}{space 3}0.833{col 59}{space 4}-.0983581{col 72}{space 3} .0792681
{txt}{space 15}4  {c |}{col 19}{res}{space 2} .0051341{col 31}{space 2} .0295928{col 42}{space 1}    0.17{col 51}{space 3}0.862{col 59}{space 4}-.0528668{col 72}{space 3} .0631349
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.0206643{col 31}{space 2} .0367414{col 42}{space 1}   -0.56{col 51}{space 3}0.574{col 59}{space 4}-.0926761{col 72}{space 3} .0513475
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0166978{col 31}{space 2} .0376433{col 42}{space 1}    0.44{col 51}{space 3}0.657{col 59}{space 4}-.0570818{col 72}{space 3} .0904773
{txt}{space 15}8  {c |}{col 19}{res}{space 2} -.008002{col 31}{space 2} .0327674{col 42}{space 1}   -0.24{col 51}{space 3}0.807{col 59}{space 4} -.072225{col 72}{space 3}  .056221
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0354354{col 31}{space 2} .0438366{col 42}{space 1}    0.81{col 51}{space 3}0.419{col 59}{space 4}-.0504828{col 72}{space 3} .1213536
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0052952{col 31}{space 2} .0385161{col 42}{space 1}   -0.14{col 51}{space 3}0.891{col 59}{space 4}-.0807854{col 72}{space 3}  .070195
{txt}{space 14}11  {c |}{col 19}{res}{space 2}-.0487007{col 31}{space 2}  .043894{col 42}{space 1}   -1.11{col 51}{space 3}0.267{col 59}{space 4}-.1347314{col 72}{space 3} .0373299
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0311407{col 31}{space 2} .0403155{col 42}{space 1}    0.77{col 51}{space 3}0.440{col 59}{space 4}-.0478762{col 72}{space 3} .1101577
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0104689{col 31}{space 2} .0448728{col 42}{space 1}    0.23{col 51}{space 3}0.816{col 59}{space 4}-.0774801{col 72}{space 3} .0984179
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0200398{col 31}{space 2}  .027062{col 42}{space 1}   -0.74{col 51}{space 3}0.459{col 59}{space 4}-.0730803{col 72}{space 3} .0330008
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0068535{col 31}{space 2} .0389143{col 42}{space 1}    0.18{col 51}{space 3}0.860{col 59}{space 4}-.0694172{col 72}{space 3} .0831242
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0004231{col 31}{space 2}  .036919{col 42}{space 1}   -0.01{col 51}{space 3}0.991{col 59}{space 4}-.0727829{col 72}{space 3} .0719367
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0261793{col 31}{space 2} .0412363{col 42}{space 1}   -0.63{col 51}{space 3}0.526{col 59}{space 4}-.1070009{col 72}{space 3} .0546424
{txt}{space 14}18  {c |}{col 19}{res}{space 2} .0148455{col 31}{space 2} .0475413{col 42}{space 1}    0.31{col 51}{space 3}0.755{col 59}{space 4}-.0783338{col 72}{space 3} .1080248
{txt}{space 14}19  {c |}{col 19}{res}{space 2}-.0715563{col 31}{space 2} .0426357{col 42}{space 1}   -1.68{col 51}{space 3}0.093{col 59}{space 4}-.1551207{col 72}{space 3} .0120081
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0145416{col 31}{space 2}  .045014{col 42}{space 1}   -0.32{col 51}{space 3}0.747{col 59}{space 4}-.1027675{col 72}{space 3} .0736843
{txt}{space 14}21  {c |}{col 19}{res}{space 2}-.0002096{col 31}{space 2} .0368649{col 42}{space 1}   -0.01{col 51}{space 3}0.995{col 59}{space 4}-.0724636{col 72}{space 3} .0720443
{txt}{space 14}22  {c |}{col 19}{res}{space 2} -.054853{col 31}{space 2} .0355043{col 42}{space 1}   -1.54{col 51}{space 3}0.122{col 59}{space 4}-.1244402{col 72}{space 3} .0147341
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0197026{col 31}{space 2} .0488618{col 42}{space 1}    0.40{col 51}{space 3}0.687{col 59}{space 4}-.0760649{col 72}{space 3}   .11547
{txt}{space 14}24  {c |}{col 19}{res}{space 2} -.003265{col 31}{space 2} .0383831{col 42}{space 1}   -0.09{col 51}{space 3}0.932{col 59}{space 4}-.0784944{col 72}{space 3} .0719644
{txt}{space 14}25  {c |}{col 19}{res}{space 2}   .01634{col 31}{space 2} .0389609{col 42}{space 1}    0.42{col 51}{space 3}0.675{col 59}{space 4} -.060022{col 72}{space 3} .0927021
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0204784{col 31}{space 2} .0414077{col 42}{space 1}    0.49{col 51}{space 3}0.621{col 59}{space 4}-.0606793{col 72}{space 3}  .101636
{txt}{space 14}27  {c |}{col 19}{res}{space 2} .0022786{col 31}{space 2} .0373776{col 42}{space 1}    0.06{col 51}{space 3}0.951{col 59}{space 4}-.0709801{col 72}{space 3} .0755374
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0081127{col 31}{space 2} .0378222{col 42}{space 1}   -0.21{col 51}{space 3}0.830{col 59}{space 4}-.0822428{col 72}{space 3} .0660174
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0310749{col 31}{space 2} .0457915{col 42}{space 1}    0.68{col 51}{space 3}0.497{col 59}{space 4}-.0586748{col 72}{space 3} .1208246
{txt}{space 14}30  {c |}{col 19}{res}{space 2}-.0071923{col 31}{space 2} .0395364{col 42}{space 1}   -0.18{col 51}{space 3}0.856{col 59}{space 4}-.0846822{col 72}{space 3} .0702976
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0205958{col 31}{space 2} .0402432{col 42}{space 1}    0.51{col 51}{space 3}0.609{col 59}{space 4}-.0582793{col 72}{space 3} .0994709
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0216701{col 31}{space 2} .0366887{col 42}{space 1}    0.59{col 51}{space 3}0.555{col 59}{space 4}-.0502383{col 72}{space 3} .0935785
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0498391{col 31}{space 2} .0361349{col 42}{space 1}   -1.38{col 51}{space 3}0.168{col 59}{space 4}-.1206622{col 72}{space 3} .0209839
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0266804{col 31}{space 2} .0352213{col 42}{space 1}   -0.76{col 51}{space 3}0.449{col 59}{space 4}-.0957128{col 72}{space 3}  .042352
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0159598{col 31}{space 2} .0383565{col 42}{space 1}   -0.42{col 51}{space 3}0.677{col 59}{space 4}-.0911371{col 72}{space 3} .0592175
{txt}{space 14}36  {c |}{col 19}{res}{space 2}-.0027842{col 31}{space 2} .0365496{col 42}{space 1}   -0.08{col 51}{space 3}0.939{col 59}{space 4}-.0744202{col 72}{space 3} .0688517
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0444223{col 31}{space 2} .0286471{col 42}{space 1}   -1.55{col 51}{space 3}0.121{col 59}{space 4}-.1005696{col 72}{space 3} .0117249
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0117209{col 31}{space 2} .0468657{col 42}{space 1}   -0.25{col 51}{space 3}0.803{col 59}{space 4}-.1035759{col 72}{space 3} .0801342
{txt}{space 14}39  {c |}{col 19}{res}{space 2}-.0035783{col 31}{space 2} .0346317{col 42}{space 1}   -0.10{col 51}{space 3}0.918{col 59}{space 4}-.0714552{col 72}{space 3} .0642986
{txt}{space 14}40  {c |}{col 19}{res}{space 2} -.011938{col 31}{space 2} .0394929{col 42}{space 1}   -0.30{col 51}{space 3}0.762{col 59}{space 4}-.0893427{col 72}{space 3} .0654666
{txt}{space 14}41  {c |}{col 19}{res}{space 2} .0297496{col 31}{space 2} .0433158{col 42}{space 1}    0.69{col 51}{space 3}0.492{col 59}{space 4}-.0551477{col 72}{space 3}  .114647
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0073179{col 31}{space 2} .0410685{col 42}{space 1}    0.18{col 51}{space 3}0.859{col 59}{space 4}-.0731748{col 72}{space 3} .0878107
{txt}{space 14}44  {c |}{col 19}{res}{space 2}  .036087{col 31}{space 2} .0515094{col 42}{space 1}    0.70{col 51}{space 3}0.484{col 59}{space 4}-.0648695{col 72}{space 3} .1370436
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0316992{col 31}{space 2} .0412961{col 42}{space 1}    0.77{col 51}{space 3}0.443{col 59}{space 4}-.0492396{col 72}{space 3}  .112638
{txt}{space 14}46  {c |}{col 19}{res}{space 2}-.0074174{col 31}{space 2} .0394033{col 42}{space 1}   -0.19{col 51}{space 3}0.851{col 59}{space 4}-.0846464{col 72}{space 3} .0698117
{txt}{space 14}47  {c |}{col 19}{res}{space 2} -.004158{col 31}{space 2} .0377629{col 42}{space 1}   -0.11{col 51}{space 3}0.912{col 59}{space 4}-.0781718{col 72}{space 3} .0698559
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0142722{col 31}{space 2} .0453076{col 42}{space 1}   -0.32{col 51}{space 3}0.753{col 59}{space 4}-.1030735{col 72}{space 3} .0745291
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0210201{col 31}{space 2} .0412687{col 42}{space 1}    0.51{col 51}{space 3}0.611{col 59}{space 4} -.059865{col 72}{space 3} .1019052
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0606546{col 31}{space 2} .0356786{col 42}{space 1}   -1.70{col 51}{space 3}0.089{col 59}{space 4}-.1305833{col 72}{space 3} .0092741
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea10.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea10.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea10.txt""':seeout}

{com}. 
. * Model 4
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year < 1998 & south == 0 & nocatx == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       814
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        37
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      703{col 49}{txt}R-squared{col 67}= {res}    0.0691
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}32{txt}){col 67}= {res}    122.75
{txt}Estimated coefficients{col 28}= {res}       48{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0733908{col 31}{space 2} .0593128{col 42}{space 1}   -1.24{col 51}{space 3}0.216{col 59}{space 4}-.1896417{col 72}{space 3} .0428601
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0507149{col 31}{space 2} .0252126{col 42}{space 1}   -2.01{col 51}{space 3}0.044{col 59}{space 4}-.1001306{col 72}{space 3}-.0012991
{txt}{space 15}2  {c |}{col 19}{res}{space 2} .0068251{col 31}{space 2} .0116549{col 42}{space 1}    0.59{col 51}{space 3}0.558{col 59}{space 4}-.0160181{col 72}{space 3} .0296683
{txt}{space 15}5  {c |}{col 19}{res}{space 2}-.0136373{col 31}{space 2} .0155511{col 42}{space 1}   -0.88{col 51}{space 3}0.381{col 59}{space 4}-.0441169{col 72}{space 3} .0168423
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0027058{col 31}{space 2} .0127781{col 42}{space 1}    0.21{col 51}{space 3}0.832{col 59}{space 4}-.0223388{col 72}{space 3} .0277503
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2} .0224699{col 31}{space 2} .0181905{col 42}{space 1}    1.24{col 51}{space 3}0.217{col 59}{space 4}-.0131829{col 72}{space 3} .0581226
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2} .0000682{col 31}{space 2}  .015477{col 42}{space 1}    0.00{col 51}{space 3}0.996{col 59}{space 4}-.0302662{col 72}{space 3} .0304026
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2} .0004104{col 31}{space 2} .0003446{col 42}{space 1}    1.19{col 51}{space 3}0.234{col 59}{space 4} -.000265{col 72}{space 3} .0010858
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0007338{col 31}{space 2} .0094318{col 42}{space 1}   -0.08{col 51}{space 3}0.938{col 59}{space 4}-.0192199{col 72}{space 3} .0177523
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0011786{col 31}{space 2} .0005015{col 42}{space 1}    2.35{col 51}{space 3}0.019{col 59}{space 4} .0001956{col 72}{space 3} .0021616
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2}-.0007019{col 31}{space 2} .0016109{col 42}{space 1}   -0.44{col 51}{space 3}0.663{col 59}{space 4}-.0038591{col 72}{space 3} .0024554
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2}-.0045063{col 31}{space 2} .0295534{col 42}{space 1}   -0.15{col 51}{space 3}0.879{col 59}{space 4}  -.06243{col 72}{space 3} .0534173
{txt}{space 15}6  {c |}{col 19}{res}{space 2}-.0329286{col 31}{space 2} .0372879{col 42}{space 1}   -0.88{col 51}{space 3}0.377{col 59}{space 4}-.1060115{col 72}{space 3} .0401543
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0068456{col 31}{space 2} .0388985{col 42}{space 1}    0.18{col 51}{space 3}0.860{col 59}{space 4} -.069394{col 72}{space 3} .0830852
{txt}{space 15}8  {c |}{col 19}{res}{space 2}-.0315058{col 31}{space 2} .0332901{col 42}{space 1}   -0.95{col 51}{space 3}0.344{col 59}{space 4}-.0967532{col 72}{space 3} .0337416
{txt}{space 14}11  {c |}{col 19}{res}{space 2}  -.06615{col 31}{space 2} .0452775{col 42}{space 1}   -1.46{col 51}{space 3}0.144{col 59}{space 4}-.1548922{col 72}{space 3} .0225922
{txt}{space 14}12  {c |}{col 19}{res}{space 2}  .011158{col 31}{space 2} .0410303{col 42}{space 1}    0.27{col 51}{space 3}0.786{col 59}{space 4}-.0692599{col 72}{space 3}  .091576
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0107255{col 31}{space 2} .0456793{col 42}{space 1}   -0.23{col 51}{space 3}0.814{col 59}{space 4}-.1002553{col 72}{space 3} .0788042
{txt}{space 14}14  {c |}{col 19}{res}{space 2}-.0266939{col 31}{space 2} .0270866{col 42}{space 1}   -0.99{col 51}{space 3}0.324{col 59}{space 4}-.0797828{col 72}{space 3} .0263949
{txt}{space 14}15  {c |}{col 19}{res}{space 2}-.0163509{col 31}{space 2} .0395679{col 42}{space 1}   -0.41{col 51}{space 3}0.679{col 59}{space 4}-.0939026{col 72}{space 3} .0612007
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0225891{col 31}{space 2} .0372858{col 42}{space 1}   -0.61{col 51}{space 3}0.545{col 59}{space 4}-.0956679{col 72}{space 3} .0504896
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0541308{col 31}{space 2} .0425614{col 42}{space 1}   -1.27{col 51}{space 3}0.203{col 59}{space 4}-.1375496{col 72}{space 3} .0292879
{txt}{space 14}19  {c |}{col 19}{res}{space 2} -.075292{col 31}{space 2} .0443977{col 42}{space 1}   -1.70{col 51}{space 3}0.090{col 59}{space 4}-.1623099{col 72}{space 3} .0117258
{txt}{space 14}20  {c |}{col 19}{res}{space 2}-.0331445{col 31}{space 2} .0464046{col 42}{space 1}   -0.71{col 51}{space 3}0.475{col 59}{space 4}-.1240959{col 72}{space 3} .0578068
{txt}{space 14}21  {c |}{col 19}{res}{space 2}-.0234386{col 31}{space 2}   .03782{col 42}{space 1}   -0.62{col 51}{space 3}0.535{col 59}{space 4}-.0975644{col 72}{space 3} .0506873
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0409959{col 31}{space 2} .0363485{col 42}{space 1}   -1.13{col 51}{space 3}0.259{col 59}{space 4}-.1122375{col 72}{space 3} .0302458
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0041794{col 31}{space 2} .0500523{col 42}{space 1}    0.08{col 51}{space 3}0.933{col 59}{space 4}-.0939213{col 72}{space 3} .1022801
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0147673{col 31}{space 2} .0385537{col 42}{space 1}   -0.38{col 51}{space 3}0.702{col 59}{space 4}-.0903312{col 72}{space 3} .0607967
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0067801{col 31}{space 2} .0423771{col 42}{space 1}   -0.16{col 51}{space 3}0.873{col 59}{space 4}-.0898376{col 72}{space 3} .0762774
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0367981{col 31}{space 2} .0392374{col 42}{space 1}   -0.94{col 51}{space 3}0.348{col 59}{space 4}-.1137019{col 72}{space 3} .0401058
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0015193{col 31}{space 2} .0469785{col 42}{space 1}    0.03{col 51}{space 3}0.974{col 59}{space 4}-.0905569{col 72}{space 3} .0935956
{txt}{space 14}30  {c |}{col 19}{res}{space 2}-.0132811{col 31}{space 2} .0406871{col 42}{space 1}   -0.33{col 51}{space 3}0.744{col 59}{space 4}-.0930264{col 72}{space 3} .0664642
{txt}{space 14}31  {c |}{col 19}{res}{space 2}-.0006897{col 31}{space 2} .0413123{col 42}{space 1}   -0.02{col 51}{space 3}0.987{col 59}{space 4}-.0816603{col 72}{space 3}  .080281
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0030767{col 31}{space 2} .0372249{col 42}{space 1}    0.08{col 51}{space 3}0.934{col 59}{space 4}-.0698827{col 72}{space 3} .0760361
{txt}{space 14}33  {c |}{col 19}{res}{space 2}-.0388135{col 31}{space 2} .0370565{col 42}{space 1}   -1.05{col 51}{space 3}0.295{col 59}{space 4}-.1114429{col 72}{space 3} .0338158
{txt}{space 14}34  {c |}{col 19}{res}{space 2}-.0320095{col 31}{space 2} .0355192{col 42}{space 1}   -0.90{col 51}{space 3}0.367{col 59}{space 4}-.1016258{col 72}{space 3} .0376068
{txt}{space 14}35  {c |}{col 19}{res}{space 2} -.027883{col 31}{space 2} .0391871{col 42}{space 1}   -0.71{col 51}{space 3}0.477{col 59}{space 4}-.1046883{col 72}{space 3} .0489224
{txt}{space 14}36  {c |}{col 19}{res}{space 2}-.0195386{col 31}{space 2} .0377802{col 42}{space 1}   -0.52{col 51}{space 3}0.605{col 59}{space 4}-.0935865{col 72}{space 3} .0545093
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0456373{col 31}{space 2} .0292013{col 42}{space 1}   -1.56{col 51}{space 3}0.118{col 59}{space 4}-.1028707{col 72}{space 3} .0115961
{txt}{space 14}38  {c |}{col 19}{res}{space 2}-.0478909{col 31}{space 2} .0477472{col 42}{space 1}   -1.00{col 51}{space 3}0.316{col 59}{space 4}-.1414737{col 72}{space 3}  .045692
{txt}{space 14}40  {c |}{col 19}{res}{space 2}-.0399938{col 31}{space 2} .0404418{col 42}{space 1}   -0.99{col 51}{space 3}0.323{col 59}{space 4}-.1192583{col 72}{space 3} .0392706
{txt}{space 14}43  {c |}{col 19}{res}{space 2}-.0149387{col 31}{space 2} .0426845{col 42}{space 1}   -0.35{col 51}{space 3}0.726{col 59}{space 4}-.0985987{col 72}{space 3} .0687213
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0086224{col 31}{space 2} .0426198{col 42}{space 1}    0.20{col 51}{space 3}0.840{col 59}{space 4}-.0749108{col 72}{space 3} .0921556
{txt}{space 14}46  {c |}{col 19}{res}{space 2}-.0178553{col 31}{space 2} .0402625{col 42}{space 1}   -0.44{col 51}{space 3}0.657{col 59}{space 4}-.0967683{col 72}{space 3} .0610577
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0042289{col 31}{space 2} .0378258{col 42}{space 1}   -0.11{col 51}{space 3}0.911{col 59}{space 4} -.078366{col 72}{space 3} .0699083
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0478166{col 31}{space 2} .0461577{col 42}{space 1}   -1.04{col 51}{space 3}0.300{col 59}{space 4}-.1382841{col 72}{space 3} .0426509
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0063534{col 31}{space 2} .0423824{col 42}{space 1}   -0.15{col 51}{space 3}0.881{col 59}{space 4}-.0894213{col 72}{space 3} .0767145
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0437788{col 31}{space 2} .0371703{col 42}{space 1}   -1.18{col 51}{space 3}0.239{col 59}{space 4}-.1166312{col 72}{space 3} .0290737
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea10.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea10.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea10.txt""':seeout}

{com}. 
. * Contemporary period (1998-2019)
. 
. * Model 5
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year > 1997 & nocatx == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     1,034
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        47
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}     1128{col 49}{txt}R-squared{col 67}= {res}    0.2122
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}34{txt}){col 67}= {res}    220.75
{txt}Estimated coefficients{col 28}= {res}       60{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2} -.081867{col 31}{space 2}  .056265{col 42}{space 1}   -1.46{col 51}{space 3}0.146{col 59}{space 4}-.1921443{col 72}{space 3} .0284104
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0811367{col 31}{space 2} .0175761{col 42}{space 1}   -4.62{col 51}{space 3}0.000{col 59}{space 4}-.1155852{col 72}{space 3}-.0466882
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0501131{col 31}{space 2} .0088037{col 42}{space 1}   -5.69{col 51}{space 3}0.000{col 59}{space 4}-.0673679{col 72}{space 3}-.0328582
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0351837{col 31}{space 2}  .011301{col 42}{space 1}   -3.11{col 51}{space 3}0.002{col 59}{space 4}-.0573331{col 72}{space 3}-.0130342
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0173265{col 31}{space 2} .0212133{col 42}{space 1}    0.82{col 51}{space 3}0.414{col 59}{space 4}-.0242509{col 72}{space 3} .0589038
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0614015{col 31}{space 2} .0107997{col 42}{space 1}    5.69{col 51}{space 3}0.000{col 59}{space 4} .0402344{col 72}{space 3} .0825686
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0674002{col 31}{space 2} .0177239{col 42}{space 1}    3.80{col 51}{space 3}0.000{col 59}{space 4} .0326621{col 72}{space 3} .1021383
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0129651{col 31}{space 2} .0202468{col 42}{space 1}   -0.64{col 51}{space 3}0.522{col 59}{space 4}-.0526482{col 72}{space 3}  .026718
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0143326{col 31}{space 2} .0092273{col 42}{space 1}   -1.55{col 51}{space 3}0.120{col 59}{space 4}-.0324179{col 72}{space 3} .0037527
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}-.0003427{col 31}{space 2} .0004256{col 42}{space 1}   -0.81{col 51}{space 3}0.421{col 59}{space 4}-.0011768{col 72}{space 3} .0004914
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0157812{col 31}{space 2} .0115262{col 42}{space 1}   -1.37{col 51}{space 3}0.171{col 59}{space 4}-.0383721{col 72}{space 3} .0068096
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2} .0000118{col 31}{space 2} .0004849{col 42}{space 1}    0.02{col 51}{space 3}0.981{col 59}{space 4}-.0009385{col 72}{space 3} .0009621
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0023668{col 31}{space 2} .0031849{col 42}{space 1}    0.74{col 51}{space 3}0.457{col 59}{space 4}-.0038755{col 72}{space 3} .0086091
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2} -.040631{col 31}{space 2} .0378065{col 42}{space 1}   -1.07{col 51}{space 3}0.283{col 59}{space 4}-.1147304{col 72}{space 3} .0334684
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0154628{col 31}{space 2} .0312882{col 42}{space 1}   -0.49{col 51}{space 3}0.621{col 59}{space 4}-.0767865{col 72}{space 3} .0458609
{txt}{space 15}4  {c |}{col 19}{res}{space 2}  .024134{col 31}{space 2} .0251884{col 42}{space 1}    0.96{col 51}{space 3}0.338{col 59}{space 4}-.0252343{col 72}{space 3} .0735023
{txt}{space 15}6  {c |}{col 19}{res}{space 2}  .047459{col 31}{space 2} .0251074{col 42}{space 1}    1.89{col 51}{space 3}0.059{col 59}{space 4}-.0017506{col 72}{space 3} .0966685
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0526687{col 31}{space 2}  .033119{col 42}{space 1}    1.59{col 51}{space 3}0.112{col 59}{space 4}-.0122434{col 72}{space 3} .1175807
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0475793{col 31}{space 2} .0344047{col 42}{space 1}    1.38{col 51}{space 3}0.167{col 59}{space 4}-.0198527{col 72}{space 3} .1150112
{txt}{space 15}9  {c |}{col 19}{res}{space 2} .0315336{col 31}{space 2} .0250167{col 42}{space 1}    1.26{col 51}{space 3}0.207{col 59}{space 4}-.0174981{col 72}{space 3} .0805654
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0291414{col 31}{space 2} .0310758{col 42}{space 1}   -0.94{col 51}{space 3}0.348{col 59}{space 4} -.090049{col 72}{space 3} .0317661
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0330925{col 31}{space 2} .0328312{col 42}{space 1}    1.01{col 51}{space 3}0.313{col 59}{space 4}-.0312555{col 72}{space 3} .0974406
{txt}{space 14}12  {c |}{col 19}{res}{space 2}-.0013434{col 31}{space 2} .0326679{col 42}{space 1}   -0.04{col 51}{space 3}0.967{col 59}{space 4}-.0653712{col 72}{space 3} .0626844
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0100409{col 31}{space 2} .0312894{col 42}{space 1}    0.32{col 51}{space 3}0.748{col 59}{space 4}-.0512852{col 72}{space 3} .0713671
{txt}{space 14}14  {c |}{col 19}{res}{space 2}  .062035{col 31}{space 2} .0298432{col 42}{space 1}    2.08{col 51}{space 3}0.038{col 59}{space 4} .0035433{col 72}{space 3} .1205267
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0004857{col 31}{space 2} .0319337{col 42}{space 1}    0.02{col 51}{space 3}0.988{col 59}{space 4}-.0621032{col 72}{space 3} .0630746
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0016561{col 31}{space 2} .0306436{col 42}{space 1}   -0.05{col 51}{space 3}0.957{col 59}{space 4}-.0617164{col 72}{space 3} .0584042
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0436049{col 31}{space 2} .0329746{col 42}{space 1}   -1.32{col 51}{space 3}0.186{col 59}{space 4}-.1082339{col 72}{space 3} .0210242
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.0198091{col 31}{space 2} .0254667{col 42}{space 1}   -0.78{col 51}{space 3}0.437{col 59}{space 4} -.069723{col 72}{space 3} .0301047
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0889066{col 31}{space 2} .0371623{col 42}{space 1}    2.39{col 51}{space 3}0.017{col 59}{space 4} .0160698{col 72}{space 3} .1617434
{txt}{space 14}20  {c |}{col 19}{res}{space 2}  .055439{col 31}{space 2} .0347557{col 42}{space 1}    1.60{col 51}{space 3}0.111{col 59}{space 4} -.012681{col 72}{space 3} .1235589
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0290451{col 31}{space 2} .0431778{col 42}{space 1}    0.67{col 51}{space 3}0.501{col 59}{space 4}-.0555818{col 72}{space 3} .1136721
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0424725{col 31}{space 2} .0286224{col 42}{space 1}    1.48{col 51}{space 3}0.138{col 59}{space 4}-.0136263{col 72}{space 3} .0985713
{txt}{space 14}23  {c |}{col 19}{res}{space 2}-.0005468{col 31}{space 2}  .027487{col 42}{space 1}   -0.02{col 51}{space 3}0.984{col 59}{space 4}-.0544203{col 72}{space 3} .0533267
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0221643{col 31}{space 2} .0265086{col 42}{space 1}   -0.84{col 51}{space 3}0.403{col 59}{space 4}-.0741202{col 72}{space 3} .0297916
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.0495317{col 31}{space 2} .0287138{col 42}{space 1}   -1.73{col 51}{space 3}0.085{col 59}{space 4}-.1058097{col 72}{space 3} .0067462
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0189812{col 31}{space 2} .0359528{col 42}{space 1}   -0.53{col 51}{space 3}0.598{col 59}{space 4}-.0894475{col 72}{space 3}  .051485
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.0373035{col 31}{space 2} .0255126{col 42}{space 1}   -1.46{col 51}{space 3}0.144{col 59}{space 4}-.0873072{col 72}{space 3} .0127002
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0121932{col 31}{space 2} .0320489{col 42}{space 1}    0.38{col 51}{space 3}0.704{col 59}{space 4}-.0506215{col 72}{space 3} .0750079
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0073451{col 31}{space 2} .0493931{col 42}{space 1}    0.15{col 51}{space 3}0.882{col 59}{space 4}-.0894635{col 72}{space 3} .1041538
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0572585{col 31}{space 2} .0284752{col 42}{space 1}    2.01{col 51}{space 3}0.044{col 59}{space 4} .0014482{col 72}{space 3} .1130689
{txt}{space 14}31  {c |}{col 19}{res}{space 2}  .036899{col 31}{space 2} .0527914{col 42}{space 1}    0.70{col 51}{space 3}0.485{col 59}{space 4}-.0665702{col 72}{space 3} .1403682
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0516446{col 31}{space 2} .0326441{col 42}{space 1}    1.58{col 51}{space 3}0.114{col 59}{space 4}-.0123366{col 72}{space 3} .1156259
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .1415356{col 31}{space 2} .0544023{col 42}{space 1}    2.60{col 51}{space 3}0.009{col 59}{space 4} .0349091{col 72}{space 3} .2481621
{txt}{space 14}34  {c |}{col 19}{res}{space 2}  .073683{col 31}{space 2} .0228894{col 42}{space 1}    3.22{col 51}{space 3}0.001{col 59}{space 4} .0288206{col 72}{space 3} .1185453
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0163465{col 31}{space 2} .0233137{col 42}{space 1}   -0.70{col 51}{space 3}0.483{col 59}{space 4}-.0620405{col 72}{space 3} .0293475
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0370588{col 31}{space 2} .0337192{col 42}{space 1}    1.10{col 51}{space 3}0.272{col 59}{space 4}-.0290296{col 72}{space 3} .1031471
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0538104{col 31}{space 2} .0300464{col 42}{space 1}    1.79{col 51}{space 3}0.073{col 59}{space 4}-.0050795{col 72}{space 3} .1127002
{txt}{space 14}38  {c |}{col 19}{res}{space 2}   .03781{col 31}{space 2} .0350175{col 42}{space 1}    1.08{col 51}{space 3}0.280{col 59}{space 4}-.0308231{col 72}{space 3}  .106443
{txt}{space 14}39  {c |}{col 19}{res}{space 2}   .00349{col 31}{space 2} .0266802{col 42}{space 1}    0.13{col 51}{space 3}0.896{col 59}{space 4}-.0488022{col 72}{space 3} .0557823
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0161296{col 31}{space 2} .0326018{col 42}{space 1}    0.49{col 51}{space 3}0.621{col 59}{space 4}-.0477687{col 72}{space 3} .0800279
{txt}{space 14}41  {c |}{col 19}{res}{space 2}-.0269539{col 31}{space 2} .0406388{col 42}{space 1}   -0.66{col 51}{space 3}0.507{col 59}{space 4}-.1066046{col 72}{space 3} .0526967
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0366334{col 31}{space 2} .0346014{col 42}{space 1}    1.06{col 51}{space 3}0.290{col 59}{space 4}-.0311842{col 72}{space 3}  .104451
{txt}{space 14}44  {c |}{col 19}{res}{space 2}-.0167838{col 31}{space 2} .0301689{col 42}{space 1}   -0.56{col 51}{space 3}0.578{col 59}{space 4}-.0759138{col 72}{space 3} .0423462
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0281622{col 31}{space 2} .0416073{col 42}{space 1}    0.68{col 51}{space 3}0.498{col 59}{space 4}-.0533865{col 72}{space 3} .1097109
{txt}{space 14}46  {c |}{col 19}{res}{space 2}  .052216{col 31}{space 2} .0377667{col 42}{space 1}    1.38{col 51}{space 3}0.167{col 59}{space 4}-.0218054{col 72}{space 3} .1262374
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0081537{col 31}{space 2} .0300758{col 42}{space 1}   -0.27{col 51}{space 3}0.786{col 59}{space 4}-.0671011{col 72}{space 3} .0507938
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0593172{col 31}{space 2} .0299652{col 42}{space 1}   -1.98{col 51}{space 3}0.048{col 59}{space 4}-.1180479{col 72}{space 3}-.0005864
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0106809{col 31}{space 2} .0356865{col 42}{space 1}   -0.30{col 51}{space 3}0.765{col 59}{space 4}-.0806253{col 72}{space 3} .0592634
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} -.008248{col 31}{space 2} .0330987{col 42}{space 1}   -0.25{col 51}{space 3}0.803{col 59}{space 4}-.0731203{col 72}{space 3} .0566243
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea10.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea10.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea10.txt""':seeout}

{com}. 
. * Model 6
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union i.stateNumber if year > 1997 & south == 0 & nocatx == 0
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}       814
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        37
{txt}Panels:{col 19}{res}correlated (balanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        22
{txt}{col 63}avg{col 67}= {res}        22
{txt}{col 63}max{col 67}= {res}        22
{txt}Estimated covariances{col 28}= {res}      703{col 49}{txt}R-squared{col 67}= {res}    0.2126
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}34{txt}){col 67}= {res}    386.49
{txt}Estimated coefficients{col 28}= {res}       50{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0863651{col 31}{space 2} .0581304{col 42}{space 1}   -1.49{col 51}{space 3}0.137{col 59}{space 4}-.2002985{col 72}{space 3} .0275684
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0925132{col 31}{space 2} .0211675{col 42}{space 1}   -4.37{col 51}{space 3}0.000{col 59}{space 4}-.1340007{col 72}{space 3}-.0510257
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0539119{col 31}{space 2} .0105725{col 42}{space 1}   -5.10{col 51}{space 3}0.000{col 59}{space 4}-.0746337{col 72}{space 3}-.0331902
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0401922{col 31}{space 2} .0127406{col 42}{space 1}   -3.15{col 51}{space 3}0.002{col 59}{space 4}-.0651633{col 72}{space 3} -.015221
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0222562{col 31}{space 2} .0219359{col 42}{space 1}    1.01{col 51}{space 3}0.310{col 59}{space 4}-.0207373{col 72}{space 3} .0652497
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0739977{col 31}{space 2} .0124457{col 42}{space 1}    5.95{col 51}{space 3}0.000{col 59}{space 4} .0496045{col 72}{space 3} .0983909
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0834198{col 31}{space 2} .0207075{col 42}{space 1}    4.03{col 51}{space 3}0.000{col 59}{space 4} .0428338{col 72}{space 3} .1240058
{txt}{space 17} {c |}
{space 3}dem_veto_proof {c |}{col 19}{res}{space 2}-.0105488{col 31}{space 2} .0262519{col 42}{space 1}   -0.40{col 51}{space 3}0.688{col 59}{space 4}-.0620016{col 72}{space 3} .0409041
{txt}{space 3}rep_veto_proof {c |}{col 19}{res}{space 2}-.0139806{col 31}{space 2} .0099683{col 42}{space 1}   -1.40{col 51}{space 3}0.161{col 59}{space 4}-.0335181{col 72}{space 3} .0055568
{txt}{space 8}demmargin {c |}{col 19}{res}{space 2}-.0003383{col 31}{space 2} .0004753{col 42}{space 1}   -0.71{col 51}{space 3}0.477{col 59}{space 4}-.0012698{col 72}{space 3} .0005933
{txt}{space 3}bowen_legprof1 {c |}{col 19}{res}{space 2}-.0139358{col 31}{space 2} .0130867{col 42}{space 1}   -1.06{col 51}{space 3}0.287{col 59}{space 4}-.0395853{col 72}{space 3} .0117136
{txt}{space 9}citi6013 {c |}{col 19}{res}{space 2}-.0002186{col 31}{space 2} .0005184{col 42}{space 1}   -0.42{col 51}{space 3}0.673{col 59}{space 4}-.0012345{col 72}{space 3} .0007974
{txt}{space 17} {c |}
{space 12}union {c |}
{space 14}D1. {c |}{col 19}{res}{space 2} .0030227{col 31}{space 2} .0035833{col 42}{space 1}    0.84{col 51}{space 3}0.399{col 59}{space 4}-.0040006{col 72}{space 3} .0100459
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2} .0262922{col 31}{space 2} .0257244{col 42}{space 1}    1.02{col 51}{space 3}0.307{col 59}{space 4}-.0241267{col 72}{space 3} .0767111
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0451387{col 31}{space 2} .0258261{col 42}{space 1}    1.75{col 51}{space 3}0.080{col 59}{space 4}-.0054795{col 72}{space 3} .0957568
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0563134{col 31}{space 2} .0357383{col 42}{space 1}    1.58{col 51}{space 3}0.115{col 59}{space 4}-.0137325{col 72}{space 3} .1263592
{txt}{space 15}8  {c |}{col 19}{res}{space 2}  .046017{col 31}{space 2} .0364983{col 42}{space 1}    1.26{col 51}{space 3}0.207{col 59}{space 4}-.0255183{col 72}{space 3} .1175523
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0289987{col 31}{space 2} .0368955{col 42}{space 1}    0.79{col 51}{space 3}0.432{col 59}{space 4}-.0433151{col 72}{space 3} .1013126
{txt}{space 14}12  {c |}{col 19}{res}{space 2}-.0014839{col 31}{space 2} .0334159{col 42}{space 1}   -0.04{col 51}{space 3}0.965{col 59}{space 4}-.0669779{col 72}{space 3} .0640101
{txt}{space 14}13  {c |}{col 19}{res}{space 2} .0109125{col 31}{space 2} .0327507{col 42}{space 1}    0.33{col 51}{space 3}0.739{col 59}{space 4}-.0532778{col 72}{space 3} .0751028
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0552835{col 31}{space 2} .0311234{col 42}{space 1}    1.78{col 51}{space 3}0.076{col 59}{space 4}-.0057172{col 72}{space 3} .1162841
{txt}{space 14}15  {c |}{col 19}{res}{space 2}  .002798{col 31}{space 2} .0332854{col 42}{space 1}    0.08{col 51}{space 3}0.933{col 59}{space 4}-.0624402{col 72}{space 3} .0680361
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0003832{col 31}{space 2} .0327635{col 42}{space 1}   -0.01{col 51}{space 3}0.991{col 59}{space 4}-.0645985{col 72}{space 3}  .063832
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0450059{col 31}{space 2} .0347095{col 42}{space 1}   -1.30{col 51}{space 3}0.195{col 59}{space 4}-.1130352{col 72}{space 3} .0230235
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0875542{col 31}{space 2} .0411552{col 42}{space 1}    2.13{col 51}{space 3}0.033{col 59}{space 4} .0068914{col 72}{space 3}  .168217
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0502426{col 31}{space 2}  .038548{col 42}{space 1}    1.30{col 51}{space 3}0.192{col 59}{space 4}  -.02531{col 72}{space 3} .1257953
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0313954{col 31}{space 2} .0459339{col 42}{space 1}    0.68{col 51}{space 3}0.494{col 59}{space 4}-.0586335{col 72}{space 3} .1214243
{txt}{space 14}22  {c |}{col 19}{res}{space 2} .0430325{col 31}{space 2} .0300514{col 42}{space 1}    1.43{col 51}{space 3}0.152{col 59}{space 4}-.0158671{col 72}{space 3} .1019322
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0004715{col 31}{space 2} .0296644{col 42}{space 1}    0.02{col 51}{space 3}0.987{col 59}{space 4}-.0576698{col 72}{space 3} .0586127
{txt}{space 14}24  {c |}{col 19}{res}{space 2} -.022846{col 31}{space 2} .0273059{col 42}{space 1}   -0.84{col 51}{space 3}0.403{col 59}{space 4}-.0763646{col 72}{space 3} .0306726
{txt}{space 14}26  {c |}{col 19}{res}{space 2}-.0145999{col 31}{space 2} .0388191{col 42}{space 1}   -0.38{col 51}{space 3}0.707{col 59}{space 4} -.090684{col 72}{space 3} .0614841
{txt}{space 14}28  {c |}{col 19}{res}{space 2} .0203886{col 31}{space 2} .0354477{col 42}{space 1}    0.58{col 51}{space 3}0.565{col 59}{space 4}-.0490877{col 72}{space 3} .0898648
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0103603{col 31}{space 2} .0530834{col 42}{space 1}    0.20{col 51}{space 3}0.845{col 59}{space 4}-.0936813{col 72}{space 3}  .114402
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0561394{col 31}{space 2} .0301723{col 42}{space 1}    1.86{col 51}{space 3}0.063{col 59}{space 4}-.0029972{col 72}{space 3}  .115276
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0367812{col 31}{space 2} .0553084{col 42}{space 1}    0.67{col 51}{space 3}0.506{col 59}{space 4}-.0716214{col 72}{space 3} .1451837
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0539519{col 31}{space 2} .0348476{col 42}{space 1}    1.55{col 51}{space 3}0.122{col 59}{space 4}-.0143481{col 72}{space 3} .1222519
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .1355198{col 31}{space 2} .0594546{col 42}{space 1}    2.28{col 51}{space 3}0.023{col 59}{space 4}  .018991{col 72}{space 3} .2520487
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0751672{col 31}{space 2} .0239801{col 42}{space 1}    3.13{col 51}{space 3}0.002{col 59}{space 4} .0281671{col 72}{space 3} .1221673
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0214652{col 31}{space 2} .0241906{col 42}{space 1}   -0.89{col 51}{space 3}0.375{col 59}{space 4}-.0688779{col 72}{space 3} .0259475
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0347818{col 31}{space 2} .0354165{col 42}{space 1}    0.98{col 51}{space 3}0.326{col 59}{space 4}-.0346333{col 72}{space 3}  .104197
{txt}{space 14}37  {c |}{col 19}{res}{space 2} .0523235{col 31}{space 2} .0323399{col 42}{space 1}    1.62{col 51}{space 3}0.106{col 59}{space 4}-.0110616{col 72}{space 3} .1157085
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0403771{col 31}{space 2} .0402762{col 42}{space 1}    1.00{col 51}{space 3}0.316{col 59}{space 4}-.0385628{col 72}{space 3} .1193169
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0230634{col 31}{space 2}    .0359{col 42}{space 1}    0.64{col 51}{space 3}0.521{col 59}{space 4}-.0472992{col 72}{space 3}  .093426
{txt}{space 14}43  {c |}{col 19}{res}{space 2} .0396889{col 31}{space 2} .0371721{col 42}{space 1}    1.07{col 51}{space 3}0.286{col 59}{space 4} -.033167{col 72}{space 3} .1125449
{txt}{space 14}45  {c |}{col 19}{res}{space 2}  .033282{col 31}{space 2} .0460611{col 42}{space 1}    0.72{col 51}{space 3}0.470{col 59}{space 4}-.0569961{col 72}{space 3}   .12356
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0453383{col 31}{space 2} .0389836{col 42}{space 1}    1.16{col 51}{space 3}0.245{col 59}{space 4}-.0310681{col 72}{space 3} .1217447
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0082697{col 31}{space 2} .0305081{col 42}{space 1}   -0.27{col 51}{space 3}0.786{col 59}{space 4}-.0680645{col 72}{space 3} .0515251
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0650755{col 31}{space 2} .0340492{col 42}{space 1}   -1.91{col 51}{space 3}0.056{col 59}{space 4}-.1318107{col 72}{space 3} .0016596
{txt}{space 14}49  {c |}{col 19}{res}{space 2}-.0098727{col 31}{space 2} .0389429{col 42}{space 1}   -0.25{col 51}{space 3}0.800{col 59}{space 4}-.0861994{col 72}{space 3}  .066454
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2} .0024525{col 31}{space 2} .0347652{col 42}{space 1}    0.07{col 51}{space 3}0.944{col 59}{space 4} -.065686{col 72}{space 3}  .070591
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea10.xls, keep(l.ydiff b4.i.misalignment_scale_factor dem_veto_proof rep_veto_proof demmargin bowen_legprof1 citi6013 d.union) append dec(2) pdec(3)
{txt}{browse `"tablea10.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea10.txt""':seeout}

{com}. 
. 
. ****************************************************
. *
. * For Appendix: 1936-2019, no controls
. *
. ****************************************************
. 
. clear
{txt}
{com}. * Import initial data and generate state numbers (for state FE)
. import delimited "/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse19362019.csv"
{res}{text}(16 vars, 4,070 obs)

{com}. collapse pollib_median, by(st)
{txt}
{com}. gen stateNumber = _n
{txt}
{com}. sort st
{txt}
{com}. save "/Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta", replace
{txt}file /Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta saved

{com}. clear
{txt}
{com}. 
. insheet using "/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse19362019.csv"
{txt}(16 vars, 4,070 obs)

{com}. sort st
{txt}
{com}. merge st using "/Users/nmiras/Desktop/Stata/Partisan Misalignment/stateNumber.dta"
{txt}{p}
(note: you are using old
{bf:merge} syntax; see
{bf:{help merge:[D] merge}} for new syntax)
{p_end}
{p 0 4 2}
variable{txt} st
does not uniquely identify observations in
the master data
{p_end}

{com}. drop _merge
{txt}
{com}. 
. * Create TSCS dataset
. tsset stateNumber year
{res}{txt}{col 8}panel variable:  {res}stateNumber (unbalanced)
{txt}{col 9}time variable:  {res}{col 25}year, 1936 to 2019
{txt}{col 17}delta:  {res}1 unit
{txt}
{com}. * xtset stateNumber year
. 
. * Generate custom lagged DVs without using the STATA operators (margins doesn't like it when you try to plot the marginal effects with the lagged operators)
. 
. gen ydiff = pollib_median - l.pollib_median
{txt}(49 missing values generated)

{com}. gen ydiff_L1 = l.ydiff
{txt}(98 missing values generated)

{com}. 
. * Full panel (all states)
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor i.stateNumber
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     3,959
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        49
{txt}Panels:{col 19}{res}correlated (unbalanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        59
{txt}Sigma computed by {col 19}{res}casewise selection{txt}{col 63}avg{col 67}= {res} 80.795918
{txt}{col 63}max{col 67}= {res}        82
{txt}Estimated covariances{col 28}= {res}     1225{col 49}{txt}R-squared{col 67}= {res}    0.0458
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}55{txt}){col 67}= {res}    568.31
{txt}Estimated coefficients{col 28}= {res}       56{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.1032169{col 31}{space 2} .0235422{col 42}{space 1}   -4.38{col 51}{space 3}0.000{col 59}{space 4}-.1493588{col 72}{space 3}-.0570751
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0034977{col 31}{space 2} .0086094{col 42}{space 1}   -0.41{col 51}{space 3}0.685{col 59}{space 4}-.0203717{col 72}{space 3} .0133764
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0256895{col 31}{space 2} .0065834{col 42}{space 1}   -3.90{col 51}{space 3}0.000{col 59}{space 4}-.0385927{col 72}{space 3}-.0127863
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0197305{col 31}{space 2} .0118641{col 42}{space 1}   -1.66{col 51}{space 3}0.096{col 59}{space 4}-.0429838{col 72}{space 3} .0035227
{txt}{space 15}5  {c |}{col 19}{res}{space 2}  .027478{col 31}{space 2} .0068222{col 42}{space 1}    4.03{col 51}{space 3}0.000{col 59}{space 4} .0141068{col 72}{space 3} .0408493
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0255032{col 31}{space 2} .0066018{col 42}{space 1}    3.86{col 51}{space 3}0.000{col 59}{space 4} .0125639{col 72}{space 3} .0384426
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0590351{col 31}{space 2} .0152464{col 42}{space 1}    3.87{col 51}{space 3}0.000{col 59}{space 4} .0291527{col 72}{space 3} .0889176
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}2  {c |}{col 19}{res}{space 2}-.0333408{col 31}{space 2} .0235751{col 42}{space 1}   -1.41{col 51}{space 3}0.157{col 59}{space 4}-.0795471{col 72}{space 3} .0128656
{txt}{space 15}3  {c |}{col 19}{res}{space 2} -.014319{col 31}{space 2} .0237439{col 42}{space 1}   -0.60{col 51}{space 3}0.546{col 59}{space 4}-.0608561{col 72}{space 3} .0322182
{txt}{space 15}4  {c |}{col 19}{res}{space 2}-.0080204{col 31}{space 2} .0245178{col 42}{space 1}   -0.33{col 51}{space 3}0.744{col 59}{space 4}-.0560743{col 72}{space 3} .0400335
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0263631{col 31}{space 2} .0252028{col 42}{space 1}    1.05{col 51}{space 3}0.296{col 59}{space 4}-.0230333{col 72}{space 3} .0757596
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0027815{col 31}{space 2} .0235949{col 42}{space 1}    0.12{col 51}{space 3}0.906{col 59}{space 4}-.0434637{col 72}{space 3} .0490266
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0273114{col 31}{space 2} .0249599{col 42}{space 1}    1.09{col 51}{space 3}0.274{col 59}{space 4}-.0216092{col 72}{space 3} .0762319
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0346363{col 31}{space 2} .0232398{col 42}{space 1}    1.49{col 51}{space 3}0.136{col 59}{space 4}-.0109128{col 72}{space 3} .0801854
{txt}{space 15}9  {c |}{col 19}{res}{space 2} -.002295{col 31}{space 2} .0233434{col 42}{space 1}   -0.10{col 51}{space 3}0.922{col 59}{space 4}-.0480472{col 72}{space 3} .0434572
{txt}{space 14}10  {c |}{col 19}{res}{space 2}-.0267739{col 31}{space 2} .0222022{col 42}{space 1}   -1.21{col 51}{space 3}0.228{col 59}{space 4}-.0702894{col 72}{space 3} .0167416
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0222523{col 31}{space 2} .0277064{col 42}{space 1}    0.80{col 51}{space 3}0.422{col 59}{space 4}-.0320513{col 72}{space 3} .0765559
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0147846{col 31}{space 2}  .024013{col 42}{space 1}    0.62{col 51}{space 3}0.538{col 59}{space 4}  -.03228{col 72}{space 3} .0618491
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0031438{col 31}{space 2} .0248728{col 42}{space 1}   -0.13{col 51}{space 3}0.899{col 59}{space 4}-.0518937{col 72}{space 3}  .045606
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0169443{col 31}{space 2} .0228514{col 42}{space 1}    0.74{col 51}{space 3}0.458{col 59}{space 4}-.0278435{col 72}{space 3} .0617322
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0024535{col 31}{space 2} .0255611{col 42}{space 1}    0.10{col 51}{space 3}0.924{col 59}{space 4}-.0476454{col 72}{space 3} .0525523
{txt}{space 14}16  {c |}{col 19}{res}{space 2}  -.00077{col 31}{space 2} .0220932{col 42}{space 1}   -0.03{col 51}{space 3}0.972{col 59}{space 4}-.0440719{col 72}{space 3} .0425319
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0207703{col 31}{space 2} .0248134{col 42}{space 1}   -0.84{col 51}{space 3}0.403{col 59}{space 4}-.0694036{col 72}{space 3} .0278631
{txt}{space 14}18  {c |}{col 19}{res}{space 2}-.0239797{col 31}{space 2} .0248781{col 42}{space 1}   -0.96{col 51}{space 3}0.335{col 59}{space 4}-.0727399{col 72}{space 3} .0247805
{txt}{space 14}19  {c |}{col 19}{res}{space 2}   .01753{col 31}{space 2} .0242749{col 42}{space 1}    0.72{col 51}{space 3}0.470{col 59}{space 4} -.030048{col 72}{space 3}  .065108
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0198987{col 31}{space 2} .0279704{col 42}{space 1}    0.71{col 51}{space 3}0.477{col 59}{space 4}-.0349223{col 72}{space 3} .0747197
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0220993{col 31}{space 2} .0261163{col 42}{space 1}    0.85{col 51}{space 3}0.397{col 59}{space 4}-.0290877{col 72}{space 3} .0732863
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0020316{col 31}{space 2} .0238794{col 42}{space 1}   -0.09{col 51}{space 3}0.932{col 59}{space 4}-.0488344{col 72}{space 3} .0447712
{txt}{space 14}23  {c |}{col 19}{res}{space 2} .0167748{col 31}{space 2} .0268858{col 42}{space 1}    0.62{col 51}{space 3}0.533{col 59}{space 4}-.0359203{col 72}{space 3} .0694699
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0142725{col 31}{space 2} .0261113{col 42}{space 1}   -0.55{col 51}{space 3}0.585{col 59}{space 4}-.0654497{col 72}{space 3} .0369047
{txt}{space 14}25  {c |}{col 19}{res}{space 2}-.0242018{col 31}{space 2} .0243493{col 42}{space 1}   -0.99{col 51}{space 3}0.320{col 59}{space 4}-.0719255{col 72}{space 3} .0235219
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0100669{col 31}{space 2}   .02384{col 42}{space 1}    0.42{col 51}{space 3}0.673{col 59}{space 4}-.0366587{col 72}{space 3} .0567924
{txt}{space 14}27  {c |}{col 19}{res}{space 2}-.0258564{col 31}{space 2} .0211758{col 42}{space 1}   -1.22{col 51}{space 3}0.222{col 59}{space 4}-.0673603{col 72}{space 3} .0156474
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0037536{col 31}{space 2} .0214347{col 42}{space 1}   -0.18{col 51}{space 3}0.861{col 59}{space 4}-.0457647{col 72}{space 3} .0382576
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0234069{col 31}{space 2} .0285433{col 42}{space 1}    0.82{col 51}{space 3}0.412{col 59}{space 4} -.032537{col 72}{space 3} .0793508
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0290558{col 31}{space 2} .0251845{col 42}{space 1}    1.15{col 51}{space 3}0.249{col 59}{space 4}-.0203049{col 72}{space 3} .0784165
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0146441{col 31}{space 2} .0258458{col 42}{space 1}    0.57{col 51}{space 3}0.571{col 59}{space 4}-.0360128{col 72}{space 3} .0653009
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0115549{col 31}{space 2}  .025972{col 42}{space 1}    0.44{col 51}{space 3}0.656{col 59}{space 4}-.0393493{col 72}{space 3} .0624591
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .0265599{col 31}{space 2} .0231464{col 42}{space 1}    1.15{col 51}{space 3}0.251{col 59}{space 4}-.0188063{col 72}{space 3} .0719261
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0008052{col 31}{space 2} .0237182{col 42}{space 1}    0.03{col 51}{space 3}0.973{col 59}{space 4}-.0456816{col 72}{space 3} .0472921
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0193832{col 31}{space 2} .0233102{col 42}{space 1}   -0.83{col 51}{space 3}0.406{col 59}{space 4}-.0650704{col 72}{space 3}  .026304
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0273677{col 31}{space 2} .0258437{col 42}{space 1}    1.06{col 51}{space 3}0.290{col 59}{space 4} -.023285{col 72}{space 3} .0780204
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0043465{col 31}{space 2}  .022053{col 42}{space 1}   -0.20{col 51}{space 3}0.844{col 59}{space 4}-.0475695{col 72}{space 3} .0388765
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0160406{col 31}{space 2} .0230951{col 42}{space 1}    0.69{col 51}{space 3}0.487{col 59}{space 4} -.029225{col 72}{space 3} .0613062
{txt}{space 14}39  {c |}{col 19}{res}{space 2}-.0265221{col 31}{space 2} .0231051{col 42}{space 1}   -1.15{col 51}{space 3}0.251{col 59}{space 4}-.0718073{col 72}{space 3}  .018763
{txt}{space 14}40  {c |}{col 19}{res}{space 2} .0080191{col 31}{space 2} .0207186{col 42}{space 1}    0.39{col 51}{space 3}0.699{col 59}{space 4}-.0325887{col 72}{space 3} .0486269
{txt}{space 14}41  {c |}{col 19}{res}{space 2} -.014816{col 31}{space 2} .0260474{col 42}{space 1}   -0.57{col 51}{space 3}0.569{col 59}{space 4}-.0658679{col 72}{space 3}  .036236
{txt}{space 14}42  {c |}{col 19}{res}{space 2}-.0118563{col 31}{space 2} .0239926{col 42}{space 1}   -0.49{col 51}{space 3}0.621{col 59}{space 4} -.058881{col 72}{space 3} .0351684
{txt}{space 14}43  {c |}{col 19}{res}{space 2}-.0079946{col 31}{space 2} .0245748{col 42}{space 1}   -0.33{col 51}{space 3}0.745{col 59}{space 4}-.0561604{col 72}{space 3} .0401711
{txt}{space 14}44  {c |}{col 19}{res}{space 2}-.0059343{col 31}{space 2}  .025678{col 42}{space 1}   -0.23{col 51}{space 3}0.817{col 59}{space 4}-.0562623{col 72}{space 3} .0443937
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0445672{col 31}{space 2} .0232636{col 42}{space 1}    1.92{col 51}{space 3}0.055{col 59}{space 4}-.0010286{col 72}{space 3}  .090163
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0128109{col 31}{space 2}  .026957{col 42}{space 1}    0.48{col 51}{space 3}0.635{col 59}{space 4}-.0400238{col 72}{space 3} .0656456
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0060444{col 31}{space 2} .0266911{col 42}{space 1}   -0.23{col 51}{space 3}0.821{col 59}{space 4}-.0583581{col 72}{space 3} .0462693
{txt}{space 14}48  {c |}{col 19}{res}{space 2}-.0138867{col 31}{space 2} .0248904{col 42}{space 1}   -0.56{col 51}{space 3}0.577{col 59}{space 4}-.0626711{col 72}{space 3} .0348977
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0044113{col 31}{space 2} .0251807{col 42}{space 1}    0.18{col 51}{space 3}0.861{col 59}{space 4}-.0449419{col 72}{space 3} .0537645
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0054752{col 31}{space 2} .0204091{col 42}{space 1}   -0.27{col 51}{space 3}0.788{col 59}{space 4}-.0454762{col 72}{space 3} .0345259
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea8.xls, keep(l.ydiff b4.i.misalignment_scale_factor) replace dec(2) pdec(3)
{txt}{browse `"tablea8.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea8.txt""':seeout}

{com}. 
. * Full panel (non-south)
. xtpcse ydiff l.ydiff b4.i.misalignment_scale_factor i.stateNumber if south == 0 
{res}
{txt}Linear regression, correlated panels corrected standard errors (PCSEs)

Group variable:{col 19}{res}stateNumber{col 49}{txt}Number of obs{col 67}= {res}     3,057
{txt}Time variable:{col 19}{res}year{col 49}{txt}Number of groups{col 67}= {res}        38
{txt}Panels:{col 19}{res}correlated (unbalanced){col 49}{txt}Obs per group:
Autocorrelation:{col 19}{res}no autocorrelation{col 63}{txt}min{col 67}= {res}        59
{txt}Sigma computed by {col 19}{res}casewise selection{txt}{col 63}avg{col 67}= {res} 80.447368
{txt}{col 63}max{col 67}= {res}        82
{txt}Estimated covariances{col 28}= {res}      741{col 49}{txt}R-squared{col 67}= {res}    0.0448
{txt}Estimated autocorrelations{col 28}= {res}        0{col 49}{txt}Wald chi2({res}44{txt}){col 67}= {res}    177.13
{txt}Estimated coefficients{col 28}= {res}       45{col 49}{txt}Prob > chi2{col 67}= {res}    0.0000

{txt}{hline 18}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 19}{c |}{col 31}Panel-corrected
{col 1}            ydiff{col 19}{c |}      Coef.{col 31}   Std. Err.{col 43}      z{col 51}   P>|z|{col 59}     [95% Con{col 72}f. Interval]
{hline 18}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 12}ydiff {c |}
{space 14}L1. {c |}{col 19}{res}{space 2}-.0965863{col 31}{space 2} .0269428{col 42}{space 1}   -3.58{col 51}{space 3}0.000{col 59}{space 4}-.1493932{col 72}{space 3}-.0437795
{txt}{space 17} {c |}
misalignment_sc~r {c |}
{space 15}1  {c |}{col 19}{res}{space 2}-.0017503{col 31}{space 2} .0088535{col 42}{space 1}   -0.20{col 51}{space 3}0.843{col 59}{space 4}-.0191029{col 72}{space 3} .0156023
{txt}{space 15}2  {c |}{col 19}{res}{space 2}-.0247255{col 31}{space 2} .0074291{col 42}{space 1}   -3.33{col 51}{space 3}0.001{col 59}{space 4}-.0392864{col 72}{space 3}-.0101647
{txt}{space 15}3  {c |}{col 19}{res}{space 2}-.0171956{col 31}{space 2} .0143884{col 42}{space 1}   -1.20{col 51}{space 3}0.232{col 59}{space 4}-.0453963{col 72}{space 3} .0110051
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0299946{col 31}{space 2} .0093588{col 42}{space 1}    3.20{col 51}{space 3}0.001{col 59}{space 4} .0116518{col 72}{space 3} .0483374
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0268379{col 31}{space 2} .0086671{col 42}{space 1}    3.10{col 51}{space 3}0.002{col 59}{space 4} .0098507{col 72}{space 3} .0438252
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0713597{col 31}{space 2} .0234198{col 42}{space 1}    3.05{col 51}{space 3}0.002{col 59}{space 4} .0254578{col 72}{space 3} .1172615
{txt}{space 17} {c |}
{space 6}stateNumber {c |}
{space 15}4  {c |}{col 19}{res}{space 2}-.0083997{col 31}{space 2} .0245298{col 42}{space 1}   -0.34{col 51}{space 3}0.732{col 59}{space 4}-.0564772{col 72}{space 3} .0396778
{txt}{space 15}5  {c |}{col 19}{res}{space 2} .0252893{col 31}{space 2} .0251827{col 42}{space 1}    1.00{col 51}{space 3}0.315{col 59}{space 4}-.0240679{col 72}{space 3} .0746466
{txt}{space 15}6  {c |}{col 19}{res}{space 2} .0025452{col 31}{space 2} .0235985{col 42}{space 1}    0.11{col 51}{space 3}0.914{col 59}{space 4} -.043707{col 72}{space 3} .0487974
{txt}{space 15}7  {c |}{col 19}{res}{space 2} .0269115{col 31}{space 2} .0250007{col 42}{space 1}    1.08{col 51}{space 3}0.282{col 59}{space 4}-.0220889{col 72}{space 3} .0759119
{txt}{space 15}8  {c |}{col 19}{res}{space 2} .0339503{col 31}{space 2} .0232577{col 42}{space 1}    1.46{col 51}{space 3}0.144{col 59}{space 4}-.0116341{col 72}{space 3} .0795346
{txt}{space 14}11  {c |}{col 19}{res}{space 2} .0207482{col 31}{space 2} .0279908{col 42}{space 1}    0.74{col 51}{space 3}0.459{col 59}{space 4}-.0341127{col 72}{space 3} .0756091
{txt}{space 14}12  {c |}{col 19}{res}{space 2} .0144022{col 31}{space 2} .0239984{col 42}{space 1}    0.60{col 51}{space 3}0.548{col 59}{space 4}-.0326339{col 72}{space 3} .0614383
{txt}{space 14}13  {c |}{col 19}{res}{space 2}-.0035414{col 31}{space 2} .0248793{col 42}{space 1}   -0.14{col 51}{space 3}0.887{col 59}{space 4} -.052304{col 72}{space 3} .0452212
{txt}{space 14}14  {c |}{col 19}{res}{space 2} .0161403{col 31}{space 2} .0228574{col 42}{space 1}    0.71{col 51}{space 3}0.480{col 59}{space 4}-.0286594{col 72}{space 3} .0609401
{txt}{space 14}15  {c |}{col 19}{res}{space 2} .0023027{col 31}{space 2} .0255829{col 42}{space 1}    0.09{col 51}{space 3}0.928{col 59}{space 4}-.0478388{col 72}{space 3} .0524442
{txt}{space 14}16  {c |}{col 19}{res}{space 2}-.0010282{col 31}{space 2} .0220891{col 42}{space 1}   -0.05{col 51}{space 3}0.963{col 59}{space 4} -.044322{col 72}{space 3} .0422657
{txt}{space 14}17  {c |}{col 19}{res}{space 2}-.0218173{col 31}{space 2} .0249885{col 42}{space 1}   -0.87{col 51}{space 3}0.383{col 59}{space 4} -.070794{col 72}{space 3} .0271593
{txt}{space 14}19  {c |}{col 19}{res}{space 2} .0170696{col 31}{space 2} .0243502{col 42}{space 1}    0.70{col 51}{space 3}0.483{col 59}{space 4} -.030656{col 72}{space 3} .0647952
{txt}{space 14}20  {c |}{col 19}{res}{space 2} .0187764{col 31}{space 2}  .028175{col 42}{space 1}    0.67{col 51}{space 3}0.505{col 59}{space 4}-.0364456{col 72}{space 3} .0739983
{txt}{space 14}21  {c |}{col 19}{res}{space 2} .0212031{col 31}{space 2} .0260989{col 42}{space 1}    0.81{col 51}{space 3}0.417{col 59}{space 4}-.0299498{col 72}{space 3}  .072356
{txt}{space 14}22  {c |}{col 19}{res}{space 2}-.0020058{col 31}{space 2} .0238955{col 42}{space 1}   -0.08{col 51}{space 3}0.933{col 59}{space 4}  -.04884{col 72}{space 3} .0448285
{txt}{space 14}23  {c |}{col 19}{res}{space 2}  .016621{col 31}{space 2} .0268608{col 42}{space 1}    0.62{col 51}{space 3}0.536{col 59}{space 4}-.0360251{col 72}{space 3} .0692671
{txt}{space 14}24  {c |}{col 19}{res}{space 2}-.0148227{col 31}{space 2} .0261965{col 42}{space 1}   -0.57{col 51}{space 3}0.572{col 59}{space 4}-.0661669{col 72}{space 3} .0365215
{txt}{space 14}26  {c |}{col 19}{res}{space 2} .0100157{col 31}{space 2} .0238199{col 42}{space 1}    0.42{col 51}{space 3}0.674{col 59}{space 4}-.0366704{col 72}{space 3} .0567017
{txt}{space 14}28  {c |}{col 19}{res}{space 2}-.0039382{col 31}{space 2} .0214415{col 42}{space 1}   -0.18{col 51}{space 3}0.854{col 59}{space 4}-.0459629{col 72}{space 3} .0380865
{txt}{space 14}29  {c |}{col 19}{res}{space 2} .0228512{col 31}{space 2} .0285618{col 42}{space 1}    0.80{col 51}{space 3}0.424{col 59}{space 4}-.0331289{col 72}{space 3} .0788312
{txt}{space 14}30  {c |}{col 19}{res}{space 2} .0280696{col 31}{space 2} .0251825{col 42}{space 1}    1.11{col 51}{space 3}0.265{col 59}{space 4}-.0212873{col 72}{space 3} .0774265
{txt}{space 14}31  {c |}{col 19}{res}{space 2} .0133132{col 31}{space 2} .0259547{col 42}{space 1}    0.51{col 51}{space 3}0.608{col 59}{space 4} -.037557{col 72}{space 3} .0641833
{txt}{space 14}32  {c |}{col 19}{res}{space 2} .0116184{col 31}{space 2} .0259654{col 42}{space 1}    0.45{col 51}{space 3}0.655{col 59}{space 4}-.0392729{col 72}{space 3} .0625097
{txt}{space 14}33  {c |}{col 19}{res}{space 2} .0261899{col 31}{space 2} .0231884{col 42}{space 1}    1.13{col 51}{space 3}0.259{col 59}{space 4}-.0192586{col 72}{space 3} .0716384
{txt}{space 14}34  {c |}{col 19}{res}{space 2} .0004781{col 31}{space 2} .0237122{col 42}{space 1}    0.02{col 51}{space 3}0.984{col 59}{space 4}-.0459969{col 72}{space 3}  .046953
{txt}{space 14}35  {c |}{col 19}{res}{space 2}-.0206459{col 31}{space 2}  .023461{col 42}{space 1}   -0.88{col 51}{space 3}0.379{col 59}{space 4}-.0666285{col 72}{space 3} .0253367
{txt}{space 14}36  {c |}{col 19}{res}{space 2} .0266554{col 31}{space 2} .0258338{col 42}{space 1}    1.03{col 51}{space 3}0.302{col 59}{space 4} -.023978{col 72}{space 3} .0772888
{txt}{space 14}37  {c |}{col 19}{res}{space 2}-.0046044{col 31}{space 2} .0220801{col 42}{space 1}   -0.21{col 51}{space 3}0.835{col 59}{space 4}-.0478806{col 72}{space 3} .0386718
{txt}{space 14}38  {c |}{col 19}{res}{space 2} .0154849{col 31}{space 2} .0231586{col 42}{space 1}    0.67{col 51}{space 3}0.504{col 59}{space 4}-.0299052{col 72}{space 3} .0608749
{txt}{space 14}40  {c |}{col 19}{res}{space 2}  .007291{col 31}{space 2} .0207601{col 42}{space 1}    0.35{col 51}{space 3}0.725{col 59}{space 4}-.0333981{col 72}{space 3} .0479801
{txt}{space 14}43  {c |}{col 19}{res}{space 2}-.0085321{col 31}{space 2} .0245399{col 42}{space 1}   -0.35{col 51}{space 3}0.728{col 59}{space 4}-.0566294{col 72}{space 3} .0395652
{txt}{space 14}45  {c |}{col 19}{res}{space 2} .0439485{col 31}{space 2} .0233166{col 42}{space 1}    1.88{col 51}{space 3}0.059{col 59}{space 4}-.0017512{col 72}{space 3} .0896481
{txt}{space 14}46  {c |}{col 19}{res}{space 2} .0117477{col 31}{space 2} .0269843{col 42}{space 1}    0.44{col 51}{space 3}0.663{col 59}{space 4}-.0411406{col 72}{space 3} .0646359
{txt}{space 14}47  {c |}{col 19}{res}{space 2}-.0063032{col 31}{space 2}  .026689{col 42}{space 1}   -0.24{col 51}{space 3}0.813{col 59}{space 4}-.0586126{col 72}{space 3} .0460062
{txt}{space 14}48  {c |}{col 19}{res}{space 2} -.015696{col 31}{space 2} .0251272{col 42}{space 1}   -0.62{col 51}{space 3}0.532{col 59}{space 4}-.0649445{col 72}{space 3} .0335524
{txt}{space 14}49  {c |}{col 19}{res}{space 2} .0042675{col 31}{space 2} .0252142{col 42}{space 1}    0.17{col 51}{space 3}0.866{col 59}{space 4}-.0451514{col 72}{space 3} .0536865
{txt}{space 17} {c |}
{space 12}_cons {c |}{col 19}{res}{space 2}-.0059207{col 31}{space 2} .0204312{col 42}{space 1}   -0.29{col 51}{space 3}0.772{col 59}{space 4}-.0459652{col 72}{space 3} .0341238
{txt}{hline 18}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. outreg2 using tablea8.xls, keep(l.ydiff b4.i.misalignment_scale_factor) append dec(2) pdec(3)
{txt}{browse `"tablea8.xls"'}
{browse `"/Users/nmiras/Desktop/Stata/Partisan Misalignment"' :dir}{com} : {txt}{stata `"seeout using "tablea8.txt""':seeout}

{com}. 
. 
. 
. **************************************************
. **************************************************
. 
{txt}end of do-file

{com}. do "/var/folders/cm/7_x4jw5137vf208vsqchgqp00000gn/T//SD54758.000000"
{txt}
{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}/Users/nmiras/Desktop/Stata/Partisan Misalignment/mirasrouse_BJPS.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}23 Oct 2020, 19:45:45
{txt}{.-}
{smcl}
{txt}{sf}{ul off}